查询用户信息(phone)
基本信息
Path: /open/user/getUserByPhone
Method: POST
接口描述:
请求示例
参数
{"phone":"13001116652"}
数据返回
{"success":true,"message":"success","data":{"name":"13001116652","imei":null,"phone":"13001116652","userId":"001","yunkeUserId":"6C87FDF97E3744D8B6AA4727B46782F9"},"code":null}
请求参数
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 |
Body
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
phone | string | 必须 | 用户手机号 |
返回数据
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
success | boolean | 必须 | |||
message | string | 必须 | |||
data | object | 非必须 | |||
├─ name | string | 必须 | 用户姓名 | ||
├─ imei | string | 非必须 | 手机设备号 | ||
├─ phone | string | 必须 | 用户手机号 | ||
├─ userId | string | 非必须 | 用户id | ||
├─ yunkeUserId | string | 必须 | 云客的用户id |