文档
测试

用户开关设置

POST
{{api}}/weartheapp/user/config

请求参数

参数名
类型
描述
必填
id
int
示例:2
必填
userId
int
示例:13
必填
configStatus
boolean
示例:true
必填
configType
string
示例:whole-point
必填

响应参数

参数名
类型
描述
必填
msg
string
示例:操作成功
必填
code
int
示例:200
必填
msg
string
示例:操作成功
必填
code
int
示例:200
必填
msg
string
示例:操作成功
必填
code
int
示例:200
必填
msg
string
示例:操作成功
必填
code
int
示例:200
必填

说明 / 示例

整点测量开关: configType = whole-point 抬手亮屏开关: configType = hand-light-screen 久坐提醒开关: configType = sedentary-reminder { "id":null, "userId": 16, "configStatus": true, "configType":"sedentary-reminder", "startTime":"07:00", "endTime":"15:00", "timeInterval":60 }