文档
测试

获取用户信息

POST
http://10.43.17.127:9891/watch/getUserInfo

接口描述

获取用户信息

请求头

参数名
类型
描述
必填
Content-Type
string
application/json
必填

请求参数

参数名
类型
描述
必填
user_id
string
用户ID
必填
timestamp
string
当前请求时间戳【共通参数】
必填
sign
string
签名(加密算法计算)【共通参数】
必填

响应参数

参数名
类型
描述
必填
code
int
状态码,200为成功,其余失败
必填
msg
String
描述信息
必填
data
Object
相应对象,json格式
必填
mobile
string
手机号
必填
birthday
string
生日
必填
sex
int
性别(0女1男)
必填
heigth
int
身高 单位cm
必填
blood_type
string
血型
必填
target_step
int
目标步数 单位步
必填
target_heat
int
目标消耗热量 单位千卡
必填
emergency_contact
string
紧急联系人
必填
emergency_contact_mobile
string
紧急联系人手机号
必填