Commit 69d22111818190dc5102ad5ecc4aa1187aa43fbe
1 parent
555cc368
新增 会员云 手机号登录
Showing
1 changed file
with
92 additions
and
0 deletions
5. 会员云/1.9 登录注册-手机号登录注册.md
0 → 100644
| 1 | +/* | |
| 2 | + Title: 1.9 手机号登录注册 | |
| 3 | + Sort: 19 | |
| 4 | +*/ | |
| 5 | +#### URL: http://api.cnlive.com/open/api/CnliveMobile/user/mobileLogin?sp_id=xxx&... | |
| 6 | +----- | |
| 7 | +#### 请求方式: POST | |
| 8 | +----- | |
| 9 | +#### 返回格式: JSON | |
| 10 | +----- | |
| 11 | +#### 请求参数说明: | |
| 12 | +<table class="table table-bordered table-striped table-condensed"> | |
| 13 | + <tr> | |
| 14 | + <th>参数</th> | |
| 15 | + <th>必选</th> | |
| 16 | + <th>类型</th> | |
| 17 | + <th>说明</th> | |
| 18 | + </tr> | |
| 19 | + <tr> | |
| 20 | + <td>sp_id</td> | |
| 21 | + <td>true</td> | |
| 22 | + <td>string</td> | |
| 23 | + <td>服务提供商ID</td> | |
| 24 | + </tr> | |
| 25 | + <tr> | |
| 26 | + <td>mobile</td> | |
| 27 | + <td>true</td> | |
| 28 | + <td>string</td> | |
| 29 | + <td>手机号</td> | |
| 30 | + </tr> | |
| 31 | + <tr> | |
| 32 | + <td>pwd</td> | |
| 33 | + <td>true</td> | |
| 34 | + <td>string</td> | |
| 35 | + <td>密码</td> | |
| 36 | + </tr> | |
| 37 | + <tr> | |
| 38 | + <td>uuid</td> | |
| 39 | + <td>true</td> | |
| 40 | + <td>string</td> | |
| 41 | + <td>设备ID</td> | |
| 42 | + </tr> | |
| 43 | + <tr> | |
| 44 | + <td>frmId</td> | |
| 45 | + <td>true</td> | |
| 46 | + <td>string</td> | |
| 47 | + <td>渠道ID</td> | |
| 48 | + </tr> | |
| 49 | + <tr> | |
| 50 | + <td>plat</td> | |
| 51 | + <td>true</td> | |
| 52 | + <td>string</td> | |
| 53 | + <td>客户端平台[i:IOS客户端,a:Android客户端]</td> | |
| 54 | + </tr> | |
| 55 | +</table> | |
| 56 | + | |
| 57 | +----- | |
| 58 | +#### 返回格式说明: | |
| 59 | +``` | |
| 60 | +{ | |
| 61 | + "uid": "122", | |
| 62 | + "uname": "2222222@qq.com", | |
| 63 | + "nickname": "鱼儿", | |
| 64 | + "gender": "f", // 性别,m:男、f:女、n:未知 | |
| 65 | + "location": "China", | |
| 66 | + "avatar": "http://www.cnlive.com/selfplatform/upload/face/201462/c3646d4e-5f08-4f0b-9ec0-2ff0d4f393ea.jpg", | |
| 67 | + "mobile": "139xxxxxxxx", | |
| 68 | + "integrity": "70", // 资料完整度 | |
| 69 | + "point": "340", // 积分 | |
| 70 | + "email": "222222222@qq.com", | |
| 71 | + "emailVerify": "true", | |
| 72 | + "level": "20", | |
| 73 | + "levelName": "女神", | |
| 74 | + "alevel": "1", | |
| 75 | + "gift_sent": "302", | |
| 76 | + "gift_rec": "1086", | |
| 77 | + "china_coin": "102024", // 中国币 | |
| 78 | + "ctmobile": "", | |
| 79 | + "ctemail": "", | |
| 80 | + "ctid": "", | |
| 81 | + "ctrealname": "", | |
| 82 | + "hdtvPt": "64", // 电视互动积分 | |
| 83 | + "ctpostcode": "", | |
| 84 | + "type": "1", // 用户类型 0普通用户 3员工 | |
| 85 | + "aid:" "0" // 活动id,没参加活动的为0 | |
| 86 | + "redPackage": "0", // 红包 | |
| 87 | + "uniqueId": "", | |
| 88 | + "openId": "", | |
| 89 | + "liveStatuts": "true" // 我要直播权限 | |
| 90 | +} | |
| 91 | + | |
| 92 | +``` | |
| 0 | 93 | \ No newline at end of file | ... | ... |