- discard(废弃)
- demo(模板-参考示例)
- usmile-wx(微信)
- uc(用户统一中心)
- user-web(健康&设备&我的)
- bff-cloud
- iot-sevice(IOT平台)
- cloud-admin(运营后台)
获取指定用户状态
POST
https://test.myusmile.online/user/user/target/status/get
请求参数
Header 参数
TOK
string
可选
默认值:
{{token}}
Body 参数application/json
id
string
用户id
示例
{
"id": "{{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/user/target/status/get' \
--header 'TOK: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": ""
}'
返回响应
🟢200成功
application/json
Body
status
integer
必需
maskedPhone
string
用户手机号码
示例
{
"flag": true,
"code": 20000,
"message": "查询成功",
"data": {
"status": 1,
"maskedPhone": "139****0104"
}
}