- discard(废弃)
- demo(模板-参考示例)
- usmile-wx(微信)
- uc(用户统一中心)
- user-web(健康&设备&我的)
- bff-cloud
- iot-sevice(IOT平台)
- cloud-admin(运营后台)
获取用户设备的昵称、刷头重置时间(APP暂无调用)done
POST
https://test.myusmile.online/user/device/getValidAccountDeviceInfo/v2
请求参数
Header 参数
TOK
string
可选
默认值:
{{token}}
Body 参数application/json
mebId
string
用户id
deviceId
string
设备唯一标识
示例
{
"deviceId": "{{deviceId}}",
"mebId": "{{accountId}}"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://test.myusmile.online/user/device/getValidAccountDeviceInfo/v2' \
--header 'TOK: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"deviceId": "f5:34:01:38:03:f5",
"mebId": ""
}'
返回响应
🟢200成功
application/json
Body
flag
boolean
必需
code
integer
必需
message
string
必需
data
object
必需
brushheadResetTime
integer
刷头天数
deviceNickname
string
设备昵称
示例
{
"flag": true,
"code": 0,
"message": "string",
"data": {
"brushheadResetTime": 0,
"deviceNickname": "string"
}
}