- discard(废弃)
- demo(模板-参考示例)
- usmile-wx(微信)
- uc(用户统一中心)
- user-web(健康&设备&我的)
- bff-cloud
- iot-sevice(IOT平台)
- cloud-admin(运营后台)
获取本人账号基本信息
POST
https://test.myusmile.online/user/account/getBasicInformation
请求参数
Header 参数
TOK
string
可选
默认值:
{{token}}
Body 参数application/json
authUserId
string
用户id
示例
{
"authUserId": "string"
}
示例代码
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/account/getBasicInformation' \
--header 'TOK: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"authUserId": "string"
}'
返回响应
🟢200成功
application/json
Body
flag
boolean
必需
code
integer
必需
message
null
必需
data
object
必需
id
string
必需
nickName
string
必需
snickName
string
必需
imgUrl
string
必需
simgUrl
string
必需
gender
string
必需
sgender
string
必需
birthday
string
必需
sbirthday
string
必需
phone
string
必需
sphone
string
必需
openId
null
必需
sopenId
null
必需
sunionId
null
必需
macId
null
必需
smacId
null
必需
hwDeviceId
null
必需
type
null
必需
regTime
string
必需
lastLoginTime
null
必需
status
null
必需
modifyTime
null
必需
pwd
null
必需
email
null
必需
semail
null
必需
unionId
null
必需
desc
null
必需
示例
{
"flag": true,
"code": 0,
"message": null,
"data": {
"id": "string",
"nickName": "string",
"snickName": "string",
"imgUrl": "string",
"simgUrl": "string",
"gender": "string",
"sgender": "string",
"birthday": "string",
"sbirthday": "string",
"phone": "string",
"sphone": "string",
"openId": null,
"sopenId": null,
"sunionId": null,
"macId": null,
"smacId": null,
"hwDeviceId": null,
"type": null,
"regTime": "string",
"lastLoginTime": null,
"status": null,
"modifyTime": null,
"pwd": null,
"email": null,
"semail": null,
"unionId": null
},
"desc": null
}