Commit 1eb5c71c2ee0a78336f72429b5e8a5cf7ad8cc30
1 parent
cf0fc335
add 通过手机号注册
Showing
1 changed file
with
88 additions
and
0 deletions
04.用户云/4.4 通过手机号注册.md
0 → 100644
| 1 | +#### 请求参数说明: | ||
| 2 | +<table class="table table-bordered table-striped table-condensed"> | ||
| 3 | + <tr> | ||
| 4 | + <th>参数</th> | ||
| 5 | + <th>必选</th> | ||
| 6 | + <th>类型</th> | ||
| 7 | + <th>说明</th> | ||
| 8 | + </tr> | ||
| 9 | + <tr> | ||
| 10 | + <td>appId</td> | ||
| 11 | + <td>true</td> | ||
| 12 | + <td>string</td> | ||
| 13 | + <td>应用ID</td> | ||
| 14 | + </tr> | ||
| 15 | + <tr> | ||
| 16 | + <td>mobile</td> | ||
| 17 | + <td>true</td> | ||
| 18 | + <td>string</td> | ||
| 19 | + <td>手机号</td> | ||
| 20 | + </tr> | ||
| 21 | + <tr> | ||
| 22 | + <td>frmId</td> | ||
| 23 | + <td>false</td> | ||
| 24 | + <td>string</td> | ||
| 25 | + <td>渠道ID</td> | ||
| 26 | + </tr> | ||
| 27 | + <tr> | ||
| 28 | + <td>clientPlat</td> | ||
| 29 | + <td>true</td> | ||
| 30 | + <td>string</td> | ||
| 31 | + <td>客户端平台[i:IOS客户端,a:Android客户端, w: 网页]</td> | ||
| 32 | + </tr> | ||
| 33 | + <tr> | ||
| 34 | + <td>sign</td> | ||
| 35 | + <td>true</td> | ||
| 36 | + <td>string</td> | ||
| 37 | + <td>签名</td> | ||
| 38 | + </tr> | ||
| 39 | +</table> | ||
| 40 | + | ||
| 41 | +----- | ||
| 42 | +#### 返回格式说明: | ||
| 43 | +``` | ||
| 44 | +{ | ||
| 45 | + "errorCode": "0", | ||
| 46 | + "errorMessage": "成功", | ||
| 47 | + "data": { | ||
| 48 | + "uid": "10535070", | ||
| 49 | + "nickName": "181xxxx2155", | ||
| 50 | + "gender": "n", | ||
| 51 | + "location": "", | ||
| 52 | + "faceUrl": "https://wjj.ys1.cnliveimg.com/769/img/2018/0416/head_c.png", | ||
| 53 | + "mobile": "18101092155", | ||
| 54 | + "countryCode": "86", | ||
| 55 | + "email": "", | ||
| 56 | + "extInfo": "", | ||
| 57 | + "platformId": "769_jetj7bq525", | ||
| 58 | + "qqUid": "", | ||
| 59 | + "wxUid": "", | ||
| 60 | + "sinaUid": "", | ||
| 61 | + "renrenUid": "", | ||
| 62 | + "hUid": "", | ||
| 63 | + "token": "/TrKh4FOM9hee3aUIVN93c+/Jc9jpXKvA6DqhDKSMcJgJbwVOSoJxXmmJyhKGpkj", | ||
| 64 | + "isNewUser": false, | ||
| 65 | + "bigFaceUrl": "https://wjj.ys1.cnliveimg.com/769/img/2018/0416/head_c.png" | ||
| 66 | + } | ||
| 67 | +} | ||
| 68 | +{ | ||
| 69 | + "errorCode": "1", | ||
| 70 | + "errorMessage": "请求参数无效" | ||
| 71 | +} | ||
| 72 | +{ | ||
| 73 | + "errorCode": "41010", | ||
| 74 | + "errorMessage": "手机号无效" | ||
| 75 | +} | ||
| 76 | +{ | ||
| 77 | + "errorCode": "41005", | ||
| 78 | + "errorMessage": "ClientPlat无效" | ||
| 79 | +} | ||
| 80 | +{ | ||
| 81 | + "errorCode": "41063", | ||
| 82 | + "errorMessage": "AppId错误" | ||
| 83 | +} | ||
| 84 | +{ | ||
| 85 | + "errorCode": "40005", | ||
| 86 | + "errorMessage": "其他错误" | ||
| 87 | +} | ||
| 88 | +``` | ||
| 0 | \ No newline at end of file | 89 | \ No newline at end of file |