- discard(废弃)
- demo(模板-参考示例)
- usmile-wx(微信)
- uc(用户统一中心)
- user-web(健康&设备&我的)
- bff-cloud
- iot-sevice(IOT平台)
- cloud-admin(运营后台)
查看用户信息
POST
https://test.myusmile.online/user/selectUserInformation
请求参数
Header 参数
TOK
string
可选
默认值:
{{token}}
示例代码
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/selectUserInformation' \
--header 'TOK: '
返回响应
🟢200成功
application/json
Body
object {0}
示例
{
"flag": true,
"code": 20000,
"message": "操作成功",
"data": {
"imgUrl": "https://myusmile.online/appImg/usmile.png",
"registerDay": 1,
"userInfo": {
"id": "1704681398078472194",
"nickName": "usmile_0104",
"imgUrl": "https://myusmile.online/appImg/usmile.png",
"gender": "0",
"registerDay": 1,
"registerTimestampMS": 1695262691000,
"phone": "13923750104",
"hasPwd": "0"
},
"regiterTimestampMS": 1695262691000,
"switchs": [
{
"id": 14657,
"mebId": "1704681398078472194",
"deviceId": null,
"status": "0",
"switchId": "10000",
"createTime": "2023-09-21 10:18:11",
"modifyTime": null
},
{
"id": 14658,
"mebId": "1704681398078472194",
"deviceId": null,
"status": "0",
"switchId": "10001",
"createTime": "2023-09-21 10:18:11",
"modifyTime": null
},
{
"id": 14659,
"mebId": "1704681398078472194",
"deviceId": null,
"status": "0",
"switchId": "11000",
"createTime": "2023-09-21 10:18:11",
"modifyTime": null
},
{
"id": 14660,
"mebId": "1704681398078472194",
"deviceId": null,
"status": "0",
"switchId": "12000",
"createTime": "2023-09-21 10:18:11",
"modifyTime": null
},
{
"id": 14661,
"mebId": "1704681398078472194",
"deviceId": null,
"status": "0",
"switchId": "20000",
"createTime": "2023-09-21 10:18:11",
"modifyTime": null
}
],
"phone": "13923750104",
"nickName": "usmile_0104",
"hasPwd": "0",
"id": "1704681398078472194",
"email": null
}
}