Authored by gezhengwen

Update README.md

... ... @@ -227,3 +227,108 @@ code为200即为成功,否则是失败。
}
```
## 9、用户列表,可以根据手机号、用户UID和邮箱地址进行搜索 ##
用户列表(method=app.passport.getProfileByUidOrEamilOrMobile)
|:-------| -----:|-----:|-----:|-----:|-----:|----:|
|client_secret|string|50|否|5ac68f20cb18efe154be||进入接口提供的参数加密信息|
|app_version|float|10|否|1||APP版本|
|os_version|string|20|否|Android4.4||系统版本+机器型号|
|client_type|string|20|否|iphone/android/ipad||手机型号(不区分大小写)|
|screen_size|string|20|否|800x900||(手机尺寸)|
#### 请求参数
| 参数名称 | 参数类型 | 长度 | 可否为空 | 示例 | 默认值 | 备注 |
|:-------| -----:|-----:|-----:|-----:|-----:|----:|
|uids|String|64|是|12710899,123|空白|uid列表,用,分割|
|area|String|64|是|86|86|国家码|
|mobile|String|是|15051889346||手机号码|
|email|String|64|是|||邮箱,手机,uid三者不能同时为空|
注意,通用的头部没有列出。
请求示例
http://127.0.0.1:8080/gateway/?app_version=4.6.0&client_type=h5&method=app.passport.getProfileByUidOrEamilOrMobile&os_version=yohobuy%3Ah5&uid=20000718&mobile=15051889346
### 响应
code为200即为成功,否则是失败。
响应参数,data部分
响应成功JSON格式如下所示:
```json
{
"alg": "SALT_MD5",
"code": 200,
"data": {
{
"page_total": 1,
"total": 2,
"pageSize": 10,
"page": 1,
"list": [
{
"profile_name": null,
"uid": 11033,
"username": null,
"nickname": null,
"gender": null,
"birthday": null,
"head_ico": null,
"income": null,
"profession": null,
"mobile": null,
"email": "lu8092@sina.com",
"verify_email": null,
"verify_mobile": null,
"yoho_currency": 0,
"createTime": 1309107674,
"vip_info": null,
"qq_nickname": "",
"qq_bind": "N",
"wechat_nickname": "",
"wechat_bind": "N",
"sina_nickname": "",
"sina_bind": "N",
"alipay_nickname": "",
"alipay_bind": "N",
"height": "",
"weight": "",
"bind_gate": ""
},
{
"profile_name": null,
"uid": 11037,
"username": null,
"nickname": null,
"gender": null,
"birthday": null,
"head_ico": null,
"income": null,
"profession": null,
"mobile": null,
"email": "fbi_wangshen123@163.com",
"verify_email": null,
"verify_mobile": null,
"yoho_currency": 0,
"createTime": 1309107674,
"vip_info": null,
"qq_nickname": "",
"qq_bind": "N",
"wechat_nickname": "",
"wechat_bind": "N",
"sina_nickname": "",
"sina_bind": "N",
"alipay_nickname": "",
"alipay_bind": "N",
"height": "",
"weight": "",
"bind_gate": ""
}
]
}
},
"md5": "5f182e1202a2026d0dd638af7f8c8048",
"message": "yoho coin total"
}
```
... ...