Appearance
通过手机号查询用户基础信息
1 接口名称
通过手机号查询用户基础信息
2 接口描述
- 无
3 请求地址
plain
{apiAddress}/openapi/v2/find_by_mobile?connectNo=e000b5743a866438&signature=d4a2ce886749c050cd0ff4f1e76e0533&mobile=18912345737&appkey=cblzs&noncestr=1673233948702×tamp=1673233948702
4 请求方式
GET
5 请求参数
5.1 Query Params 参数
序号 | 参数名称 | 类型 | 必传 | 说明 |
---|---|---|---|---|
1 | mobile | string | 是 | 手机号 |
2 | connectNo | string | 是 | 约定的通信connectNo(区别用户) |
6 返回参数
6.1参数描述
编号 | 字段 | 类型 | 说明 |
---|---|---|---|
1 | code | int | 返回编码 |
2 | data | object | 消息体 |
3 | account_id | String | 用户的id |
4 | nick_name | String | 用户的昵称 |
5 | city | String | 用户所在城市 |
6 | head_img_url | String | 用户头像地址 |
7 | mobile | string | 手机号 |
6.2参数示例
json
{
"code": 0,
"data": {
"account_id": "618b20c56304402aefa07c50",
"city": "",
"nick_name": "读友_YMH9E4",
"mobile": "18912345737",
"head_img_url": "https://preimg.tmuyun.com/assets/20200402/1585793937232_5e854b9183c7667b5dcef238.jpeg"
}
}
7 备注
成功返回code是0,非0时均为失败。