Commit 07dbd0ce65b2a8a5125b6e352780bc70a370b98a
1 parent
68257837
update
Showing
16 changed files
with
1186 additions
and
0 deletions
5. 会员云/1.1 登录注册-发送短信验证码.md
| 1 | +/* | |
| 2 | + Title: 1.1 登录注册-发送短信验证码 | |
| 3 | + Sort: 11 | |
| 4 | +*/ | |
| 5 | +#### URL: http://api.cnlive.com/open/api/CnliveMobile/sendMsg?sp_id=xxx&mobile=xxx&content=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>content</td> | |
| 33 | + <td>true</td> | |
| 34 | + <td>string</td> | |
| 35 | + <td>短信内容(不要含空格)</td> | |
| 36 | +</tr> | |
| 37 | +</table> | |
| 38 | + | |
| 39 | +----- | |
| 40 | +#### 返回格式说明: | |
| 41 | +``` | |
| 42 | +{ | |
| 43 | + errorCode:"0", | |
| 44 | + errorMsg:"成功" | |
| 45 | +} | |
| 46 | +{ | |
| 47 | + errorCode:"xxx", //错误代码(非0) | |
| 48 | + errorMsg:"失败" //错误信息 | |
| 49 | +} | |
| 50 | + | |
| 51 | +``` | |
| 0 | 52 | \ No newline at end of file | ... | ... |
5. 会员云/1.2 登录注册-第三方登录.md
| 1 | +/* | |
| 2 | + Title: 1.2 登录注册-第三方登录 | |
| 3 | + Sort: 12 | |
| 4 | +*/ | |
| 5 | +#### URL: http://api.cnlive.com/open/api/CnliveMobile/json/thirdPartyLoginIn?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>weibo</td> | |
| 27 | + <td>true</td> | |
| 28 | + <td>int</td> | |
| 29 | + <td>第三方微博编号 [platform : 1:sina weibo 2:qq weibo 3:renren 5:weixin]</td> | |
| 30 | + </tr> | |
| 31 | + <tr> | |
| 32 | + <td>uid</td> | |
| 33 | + <td>true</td> | |
| 34 | + <td>string</td> | |
| 35 | + <td>第三方用户ID</td> | |
| 36 | + </tr> | |
| 37 | + <tr> | |
| 38 | + <td>nickname</td> | |
| 39 | + <td>true</td> | |
| 40 | + <td>string</td> | |
| 41 | + <td>用户昵称</td> | |
| 42 | + </tr> | |
| 43 | + <tr> | |
| 44 | + <td>gender</td> | |
| 45 | + <td>true</td> | |
| 46 | + <td>string</td> | |
| 47 | + <td>性别,m:男、f:女、n:未知</td> | |
| 48 | + </tr> | |
| 49 | + <tr> | |
| 50 | + <td>location</td> | |
| 51 | + <td>true</td> | |
| 52 | + <td>string</td> | |
| 53 | + <td>用户所在地</td> | |
| 54 | + </tr> | |
| 55 | + <tr> | |
| 56 | + <td>avatarUrl</td> | |
| 57 | + <td>false</td> | |
| 58 | + <td>string</td> | |
| 59 | + <td>头像,约100*100</td> | |
| 60 | + </tr> | |
| 61 | + <tr> | |
| 62 | + <td>uuid</td> | |
| 63 | + <td>true</td> | |
| 64 | + <td>string</td> | |
| 65 | + <td>设备ID</td> | |
| 66 | + </tr> | |
| 67 | + <tr> | |
| 68 | + <td>frmId</td> | |
| 69 | + <td>true</td> | |
| 70 | + <td>string</td> | |
| 71 | + <td>渠道ID</td> | |
| 72 | + </tr> | |
| 73 | + <tr> | |
| 74 | + <td>openId</td> | |
| 75 | + <td>false</td> | |
| 76 | + <td>string</td> | |
| 77 | + <td>微信openid</td> | |
| 78 | + </tr> | |
| 79 | + <tr> | |
| 80 | + <td>plat</td> | |
| 81 | + <td>true</td> | |
| 82 | + <td>string</td> | |
| 83 | + <td>客户端平台[i:IOS客户端,a:Android客户端]</td> | |
| 84 | + </tr> | |
| 85 | +</table> | |
| 86 | + | |
| 87 | +----- | |
| 88 | +#### 返回格式说明: | |
| 89 | +``` | |
| 90 | +{ | |
| 91 | + "uid": "122", | |
| 92 | + "uname": "2222222@qq.com", | |
| 93 | + "nickname": "鱼儿", | |
| 94 | + "gender": "f", | |
| 95 | + "location": "China", | |
| 96 | + "avatar": "http://www.cnlive.com/selfplatform/upload/face/201462/c3646d4e-5f08-4f0b-9ec0-2ff0d4f393ea.jpg", | |
| 97 | + "mobile": "139xxxxxxxx", | |
| 98 | + "integrity": "70", // 资料完整度 | |
| 99 | + "point": "340", // 积分 | |
| 100 | + "email": "222222222@qq.com", | |
| 101 | + "emailVerify": "true", | |
| 102 | + "level": "20", | |
| 103 | + "levelName": "女神", | |
| 104 | + "alevel": "1", | |
| 105 | + "gift_sent": "302", | |
| 106 | + "gift_rec": "1086", | |
| 107 | + "china_coin": "102024", // 中国币 | |
| 108 | + "ctmobile": "", | |
| 109 | + "ctemail": "", | |
| 110 | + "ctid": "", | |
| 111 | + "ctrealname": "", | |
| 112 | + "hdtvPt": "64", // 电视互动积分 | |
| 113 | + "ctpostcode": "", | |
| 114 | + "type": "1", // 用户类型 0普通用户 3员工 | |
| 115 | + "aid:" "0" // 活动id,没参加活动的为0 | |
| 116 | + "redPackage": "0", // 红包 | |
| 117 | + "uniqueId": "", | |
| 118 | + "openId": "", | |
| 119 | + "liveStatuts": "true" // 我要直播权限 | |
| 120 | +} | |
| 121 | + | |
| 122 | +``` | |
| 0 | 123 | \ No newline at end of file | ... | ... |
5. 会员云/1.3 登录注册-快捷登录.md
| 1 | +/* | |
| 2 | + Title: 1.3 登录注册-快捷登录 | |
| 3 | + Sort: 13 | |
| 4 | +*/ | |
| 5 | +#### URL: http://api.cnlive.com/open/api/CnliveMobile/user/quickLogin?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>username</td> | |
| 27 | + <td>true</td> | |
| 28 | + <td>string</td> | |
| 29 | + <td>手机号</td> | |
| 30 | + </tr> | |
| 31 | + <tr> | |
| 32 | + <td>uuid</td> | |
| 33 | + <td>true</td> | |
| 34 | + <td>string</td> | |
| 35 | + <td>设备ID</td> | |
| 36 | + </tr> | |
| 37 | + <tr> | |
| 38 | + <td>frmId</td> | |
| 39 | + <td>true</td> | |
| 40 | + <td>string</td> | |
| 41 | + <td>渠道ID</td> | |
| 42 | + </tr> | |
| 43 | + <tr> | |
| 44 | + <td>plat</td> | |
| 45 | + <td>true</td> | |
| 46 | + <td>string</td> | |
| 47 | + <td>客户端平台[i:IOS客户端,a:Android客户端]</td> | |
| 48 | + </tr> | |
| 49 | +</table> | |
| 50 | + | |
| 51 | +----- | |
| 52 | +#### 返回格式说明: | |
| 53 | +``` | |
| 54 | +{ | |
| 55 | + "uid": "122", | |
| 56 | + "uname": "2222222@qq.com", | |
| 57 | + "nickname": "鱼儿", | |
| 58 | + "gender": "f", // 性别,m:男、f:女、n:未知 | |
| 59 | + "location": "China", | |
| 60 | + "avatar": "http://www.cnlive.com/selfplatform/upload/face/201462/c3646d4e-5f08-4f0b-9ec0-2ff0d4f393ea.jpg", | |
| 61 | + "mobile": "139xxxxxxxx", | |
| 62 | + "integrity": "70", // 资料完整度 | |
| 63 | + "point": "340", // 积分 | |
| 64 | + "email": "222222222@qq.com", | |
| 65 | + "emailVerify": "true", | |
| 66 | + "level": "20", | |
| 67 | + "levelName": "女神", | |
| 68 | + "alevel": "1", | |
| 69 | + "gift_sent": "302", | |
| 70 | + "gift_rec": "1086", | |
| 71 | + "china_coin": "102024", // 中国币 | |
| 72 | + "ctmobile": "", | |
| 73 | + "ctemail": "", | |
| 74 | + "ctid": "", | |
| 75 | + "ctrealname": "", | |
| 76 | + "hdtvPt": "64", // 电视互动积分 | |
| 77 | + "ctpostcode": "", | |
| 78 | + "type": "1", // 用户类型 0普通用户 3员工 | |
| 79 | + "aid:" "0" // 活动id,没参加活动的为0 | |
| 80 | + "redPackage": "0", // 红包 | |
| 81 | + "uniqueId": "", | |
| 82 | + "openId": "", | |
| 83 | + "liveStatuts": "true" // 我要直播权限 | |
| 84 | +} | |
| 85 | + | |
| 86 | +``` | |
| 0 | 87 | \ No newline at end of file | ... | ... |
5. 会员云/1.4 登录注册-注册.md
| 1 | +/* | |
| 2 | + Title: 1.4 登录注册-注册 | |
| 3 | + Sort: 14 | |
| 4 | +*/ | |
| 5 | +#### URL: http://api.cnlive.com/open/api/CnliveMobile/json/register?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>uname</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>ikey</td> | |
| 39 | + <td>true</td> | |
| 40 | + <td>string</td> | |
| 41 | + <td>邀请码(没有填0)</td> | |
| 42 | + </tr> | |
| 43 | + <tr> | |
| 44 | + <td>uuid</td> | |
| 45 | + <td>true</td> | |
| 46 | + <td>string</td> | |
| 47 | + <td>设备ID</td> | |
| 48 | + </tr> | |
| 49 | + <tr> | |
| 50 | + <td>frmId</td> | |
| 51 | + <td>true</td> | |
| 52 | + <td>string</td> | |
| 53 | + <td>渠道ID</td> | |
| 54 | + </tr> | |
| 55 | + <tr> | |
| 56 | + <td>plat</td> | |
| 57 | + <td>true</td> | |
| 58 | + <td>string</td> | |
| 59 | + <td>客户端平台[i:IOS客户端,a:Android客户端]</td> | |
| 60 | + </tr> | |
| 61 | +</table> | |
| 62 | + | |
| 63 | +----- | |
| 64 | +#### 返回格式说明: | |
| 65 | +``` | |
| 66 | +{ | |
| 67 | + "uid": "122", | |
| 68 | + "uname": "2222222@qq.com", | |
| 69 | + "nickname": "鱼儿", | |
| 70 | + "gender": "f", | |
| 71 | + "location": "China", | |
| 72 | + "avatar": "http://www.cnlive.com/selfplatform/upload/face/201462/c3646d4e-5f08-4f0b-9ec0-2ff0d4f393ea.jpg", | |
| 73 | + "mobile": "139xxxxxxxx", | |
| 74 | + "integrity": "70", // 资料完整度 | |
| 75 | + "point": "340", // 积分 | |
| 76 | + "email": "222222222@qq.com", | |
| 77 | + "emailVerify": "true", | |
| 78 | + "level": "20", | |
| 79 | + "levelName": "女神", | |
| 80 | + "alevel": "1", | |
| 81 | + "gift_sent": "302", | |
| 82 | + "gift_rec": "1086", | |
| 83 | + "china_coin": "102024", // 中国币 | |
| 84 | + "ctmobile": "", | |
| 85 | + "ctemail": "", | |
| 86 | + "ctid": "", | |
| 87 | + "ctrealname": "", | |
| 88 | + "hdtvPt": "64", // 电视互动积分 | |
| 89 | + "ctpostcode": "", | |
| 90 | + "type": "1", // 用户类型 0普通用户 3员工 | |
| 91 | + "aid:" "0" // 活动id,没参加活动的为0 | |
| 92 | + "redPackage": "0", // 红包 | |
| 93 | + "uniqueId": "", | |
| 94 | + "openId": "", | |
| 95 | + "liveStatuts": "true" // 我要直播权限 | |
| 96 | +} | |
| 97 | + | |
| 98 | +``` | |
| 0 | 99 | \ No newline at end of file | ... | ... |
5. 会员云/1.5 登录注册-手机号验证码.md
| 1 | +/* | |
| 2 | + Title: 1.5 登录注册-手机号验证码 | |
| 3 | + Sort: 15 | |
| 4 | +*/ | |
| 5 | +#### URL: http://api.cnlive.com/open/api/CnliveMobile/json/sendVerifyCode?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>token</td> | |
| 33 | + <td>true</td> | |
| 34 | + <td>string</td> | |
| 35 | + <td>验证码</td> | |
| 36 | + </tr> | |
| 37 | + <tr> | |
| 38 | + <td>type</td> | |
| 39 | + <td>true</td> | |
| 40 | + <td>string</td> | |
| 41 | + <td>验证码类型: 0-手机号注册时发送验证码,1-手机号找回密码时发送验证码,2-仅给手机号发送验证码(例如:快捷登录)</td> | |
| 42 | + </tr> | |
| 43 | + <tr> | |
| 44 | + <td>plat</td> | |
| 45 | + <td>true</td> | |
| 46 | + <td>string</td> | |
| 47 | + <td>客户端平台[i:IOS客户端,a:Android客户端]</td> | |
| 48 | + </tr> | |
| 49 | +</table> | |
| 50 | + | |
| 51 | +----- | |
| 52 | +#### 返回格式说明: | |
| 53 | +``` | |
| 54 | +{ | |
| 55 | + errorCode:"0", | |
| 56 | + errorMsg:"成功" | |
| 57 | +} | |
| 58 | +{ | |
| 59 | + errorCode:"xxx", //错误代码(非0) | |
| 60 | + errorMsg:"失败" //错误信息 | |
| 61 | +} | |
| 62 | + | |
| 63 | +``` | |
| 0 | 64 | \ No newline at end of file | ... | ... |
5. 会员云/1.6 登录注册-登录.md
| 1 | +/* | |
| 2 | + Title: 1.6 登录注册-登录 | |
| 3 | + Sort: 16 | |
| 4 | +*/ | |
| 5 | +#### URL: http://api.cnlive.com/open/api/CnliveMobile/json/loginIn?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>uname</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", | |
| 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 | ... | ... |
5. 会员云/2.1 用户信息-修改密码.md
| 1 | +/* | |
| 2 | + Title: 2.1 用户信息-修改密码 | |
| 3 | + Sort: 21 | |
| 4 | +*/ | |
| 5 | +#### URL: http://api.cnlive.com/open/api/CnliveMobile/json/resetPasswd?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>passwd</td> | |
| 33 | + <td>true</td> | |
| 34 | + <td>string</td> | |
| 35 | + <td>密码</td> | |
| 36 | + </tr> | |
| 37 | + <tr> | |
| 38 | + <td>token</td> | |
| 39 | + <td>true</td> | |
| 40 | + <td>string</td> | |
| 41 | + <td>验证码</td> | |
| 42 | + </tr> | |
| 43 | + <tr> | |
| 44 | + <td>plat</td> | |
| 45 | + <td>true</td> | |
| 46 | + <td>string</td> | |
| 47 | + <td>客户端平台[i:IOS客户端,a:Android客户端]</td> | |
| 48 | + </tr> | |
| 49 | +</table> | |
| 50 | + | |
| 51 | +----- | |
| 52 | +#### 返回格式说明: | |
| 53 | +``` | |
| 54 | +{ | |
| 55 | + errorCode:"0", | |
| 56 | + errorMsg:"成功" | |
| 57 | +} | |
| 58 | +{ | |
| 59 | + errorCode:"xxx", //错误代码(非0) | |
| 60 | + errorMsg:"失败" //错误信息 | |
| 61 | +} | |
| 62 | +``` | |
| 0 | 63 | \ No newline at end of file | ... | ... |
5. 会员云/2.2 用户信息-上传头像.md
| 1 | +/* | |
| 2 | + Title: 2.2 用户信息-上传头像 | |
| 3 | + Sort: 22 | |
| 4 | +*/ | |
| 5 | +#### URL: http://api.cnlive.com/open/api/CnliveMobile/json/avatarUpdate?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>uid</td> | |
| 27 | + <td>true</td> | |
| 28 | + <td>string</td> | |
| 29 | + <td>用户ID</td> | |
| 30 | + </tr> | |
| 31 | + <tr> | |
| 32 | + <td>avatar</td> | |
| 33 | + <td>true</td> | |
| 34 | + <td>blob</td> | |
| 35 | + <td>头像文件</td> | |
| 36 | + </tr> | |
| 37 | + <tr> | |
| 38 | + <td>plat</td> | |
| 39 | + <td>true</td> | |
| 40 | + <td>string</td> | |
| 41 | + <td>客户端平台[i:IOS客户端,a:Android客户端]</td> | |
| 42 | + </tr> | |
| 43 | +</table> | |
| 44 | + | |
| 45 | +----- | |
| 46 | +#### 返回格式说明: | |
| 47 | +``` | |
| 48 | +{ | |
| 49 | + errorCode:"0", | |
| 50 | + errorMsg:"成功" | |
| 51 | +} | |
| 52 | +{ | |
| 53 | + errorCode:"xxx", //错误代码(非0) | |
| 54 | + errorMsg:"失败" //错误信息 | |
| 55 | +} | |
| 56 | + | |
| 57 | +``` | |
| 0 | 58 | \ No newline at end of file | ... | ... |
5. 会员云/2.3 用户信息-获取用户信息.md
| 1 | +/* | |
| 2 | + Title: 2.3 用户信息-获取用户信息 | |
| 3 | + Sort: 23 | |
| 4 | +*/ | |
| 5 | +#### URL: http://api.cnlive.com/open/api/CnliveMobile/json/readUserById?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>uid</td> | |
| 27 | + <td>true</td> | |
| 28 | + <td>string</td> | |
| 29 | + <td>用户ID</td> | |
| 30 | + </tr> | |
| 31 | + <tr> | |
| 32 | + <td>plat</td> | |
| 33 | + <td>true</td> | |
| 34 | + <td>string</td> | |
| 35 | + <td>客户端平台[i:IOS客户端,a:Android客户端]</td> | |
| 36 | + </tr> | |
| 37 | +</table> | |
| 38 | + | |
| 39 | +----- | |
| 40 | +#### 返回格式说明: | |
| 41 | +``` | |
| 42 | +{ | |
| 43 | + "uid": "122", | |
| 44 | + "uname": "2222222@qq.com", | |
| 45 | + "nickname": "鱼儿", | |
| 46 | + "gender": "f", | |
| 47 | + "location": "China", | |
| 48 | + "avatar": "http://www.cnlive.com/selfplatform/upload/face/201462/c3646d4e-5f08-4f0b-9ec0-2ff0d4f393ea.jpg", | |
| 49 | + "mobile": "139xxxxxxxx", | |
| 50 | + "integrity": "70", // 资料完整度 | |
| 51 | + "point": "340", // 积分 | |
| 52 | + "email": "222222222@qq.com", | |
| 53 | + "emailVerify": "true", | |
| 54 | + "level": "20", | |
| 55 | + "levelName": "女神", | |
| 56 | + "alevel": "1", | |
| 57 | + "gift_sent": "302", | |
| 58 | + "gift_rec": "1086", | |
| 59 | + "china_coin": "102024", // 中国币 | |
| 60 | + "ctmobile": "", | |
| 61 | + "ctemail": "", | |
| 62 | + "ctid": "", | |
| 63 | + "ctrealname": "", | |
| 64 | + "hdtvPt": "64", // 电视互动积分 | |
| 65 | + "ctpostcode": "", | |
| 66 | + "type": "1", // 用户类型 0普通用户 3员工 | |
| 67 | + "aid:" "0" // 活动id,没参加活动的为0 | |
| 68 | + "redPackage": "0", // 红包 | |
| 69 | + "uniqueId": "", | |
| 70 | + "openId": "", | |
| 71 | + "liveStatuts": "true" // 我要直播权限 | |
| 72 | +} | |
| 73 | + | |
| 74 | +``` | |
| 0 | 75 | \ No newline at end of file | ... | ... |
5. 会员云/2.4 用户信息-修改用户信息.md
| 1 | +/* | |
| 2 | + Title: 2.4 用户信息-修改用户信息 | |
| 3 | + Sort: 24 | |
| 4 | +*/ | |
| 5 | +#### URL: http://api.cnlive.com/open/api/CnliveMobile/json/updateUserInfo?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>uid</td> | |
| 27 | + <td>true</td> | |
| 28 | + <td>string</td> | |
| 29 | + <td>用户ID</td> | |
| 30 | + </tr> | |
| 31 | + <tr> | |
| 32 | + <td>type</td> | |
| 33 | + <td>true</td> | |
| 34 | + <td>string</td> | |
| 35 | + <td>nick-昵称,gender-性别,mobile-手机号,contact-联系方式,pwd-密码</td> | |
| 36 | + </tr> | |
| 37 | + <tr> | |
| 38 | + <td>value</td> | |
| 39 | + <td>true</td> | |
| 40 | + <td>string</td> | |
| 41 | + <td>对应的信息</td> | |
| 42 | + </tr> | |
| 43 | + <tr> | |
| 44 | + <td>plat</td> | |
| 45 | + <td>true</td> | |
| 46 | + <td>string</td> | |
| 47 | + <td>客户端平台[i:IOS客户端,a:Android客户端]</td> | |
| 48 | + </tr> | |
| 49 | +</table> | |
| 50 | + | |
| 51 | +----- | |
| 52 | +#### 返回格式说明: | |
| 53 | +``` | |
| 54 | +{ | |
| 55 | + errorCode:"0", | |
| 56 | + errorMsg:"成功" | |
| 57 | +} | |
| 58 | +{ | |
| 59 | + errorCode:"xxx", //错误代码(非0) | |
| 60 | + errorMsg:"失败" //错误信息 | |
| 61 | +} | |
| 62 | +``` | |
| 0 | 63 | \ No newline at end of file | ... | ... |
5. 会员云/3.1 收藏-更新收藏.md
| 1 | +/* | |
| 2 | + Title: 3.1 收藏-更新收藏 | |
| 3 | + Sort: 31 | |
| 4 | +*/ | |
| 5 | +#### URL: http://api.cnlive.com/open/api/CnliveUser/my/updateMyCollection?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>sid</td> | |
| 27 | + <td>true</td> | |
| 28 | + <td>string</td> | |
| 29 | + <td>用户ID</td> | |
| 30 | + </tr> | |
| 31 | + <tr> | |
| 32 | + <td>action</td> | |
| 33 | + <td>true</td> | |
| 34 | + <td>string</td> | |
| 35 | + <td>addOrDel-更新、add-新增、del-删除</td> | |
| 36 | + </tr> | |
| 37 | + <tr> | |
| 38 | + <td>mediaID</td> | |
| 39 | + <td>true</td> | |
| 40 | + <td>string</td> | |
| 41 | + <td>可提供多个id,用__(双下划线)分割</td> | |
| 42 | + </tr> | |
| 43 | + <tr> | |
| 44 | + <td>type</td> | |
| 45 | + <td>false</td> | |
| 46 | + <td>string</td> | |
| 47 | + <td>更新时的视频类型,多个时用__(双下划线)分割,删除时可不传;program-普通视频;series-剧集;album-专辑;ivod-点播互动;live-直播;freeview-多路流;itv-卫视互动;ilive-虚拟互动;</td> | |
| 48 | + </tr> | |
| 49 | +</table> | |
| 50 | + | |
| 51 | +----- | |
| 52 | +#### 返回格式说明: | |
| 53 | +``` | |
| 54 | +{ | |
| 55 | + errorCode:"0", | |
| 56 | + errorMsg:"成功" | |
| 57 | +} | |
| 58 | +{ | |
| 59 | + errorCode:"xxx", //错误代码(非0) | |
| 60 | + errorMsg:"失败" //错误信息 | |
| 61 | +} | |
| 62 | +``` | |
| 0 | 63 | \ No newline at end of file | ... | ... |
5. 会员云/3.2 收藏-读取收藏.md
| 1 | +/* | |
| 2 | + Title: 3.2 收藏-读取收藏 | |
| 3 | + Sort: 32 | |
| 4 | +*/ | |
| 5 | +#### URL: http://api.cnlive.com/open/api/CnliveUser/my/getMyCollection?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>sid</td> | |
| 27 | + <td>true</td> | |
| 28 | + <td>string</td> | |
| 29 | + <td>用户ID</td> | |
| 30 | + </tr> | |
| 31 | + <tr> | |
| 32 | + <td>page</td> | |
| 33 | + <td>true</td> | |
| 34 | + <td>string</td> | |
| 35 | + <td>页号</td> | |
| 36 | + </tr> | |
| 37 | + <tr> | |
| 38 | + <td>pageSize</td> | |
| 39 | + <td>true</td> | |
| 40 | + <td>string</td> | |
| 41 | + <td>每页条数</td> | |
| 42 | + </tr> | |
| 43 | + <tr> | |
| 44 | + <td>plat</td> | |
| 45 | + <td>true</td> | |
| 46 | + <td>string</td> | |
| 47 | + <td>客户端平台[i:IOS客户端,a:Android客户端]</td> | |
| 48 | + </tr> | |
| 49 | +</table> | |
| 50 | + | |
| 51 | +----- | |
| 52 | +#### 返回格式说明: | |
| 53 | +``` | |
| 54 | +{ | |
| 55 | + "errorCode": "0", | |
| 56 | + "errorMessage": "success", | |
| 57 | + "data": [ | |
| 58 | + { | |
| 59 | + "mediaId": "16d1dba56ac9435881acdaa044726cc8", | |
| 60 | + "title": "高圆圆现身美出新高度", | |
| 61 | + "subTitle": "高圆圆身着斜肩裙美出新高度", | |
| 62 | + "type": "program", | |
| 63 | + "roomId": "", | |
| 64 | + "vipFlag": "0", | |
| 65 | + "imageURL": "http://y2.cnliveimg.com:8080/image/itv/2016/0120/16d1dba56ac9435881acdaa044726cc8_102486_100.jpg", | |
| 66 | + "webURL": "", | |
| 67 | + "duration": "59000", | |
| 68 | + "publishTime": "2016-01-20 18:00:57" | |
| 69 | + } | |
| 70 | + ], | |
| 71 | + "previous_cursor": "0", | |
| 72 | + "next_cursor": "2", | |
| 73 | + "total_number": "3" | |
| 74 | +} | |
| 75 | +``` | |
| 0 | 76 | \ No newline at end of file | ... | ... |
5. 会员云/4.1 消息-我的消息列表.md
| 1 | +/* | |
| 2 | + Title: 4.1 消息-我的消息列表 | |
| 3 | + Sort: 41 | |
| 4 | +*/ | |
| 5 | +#### URL: http://api.cnlive.com/open/api/CnliveMobile/my/getMyMessages?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>sid</td> | |
| 27 | + <td>true</td> | |
| 28 | + <td>string</td> | |
| 29 | + <td>用户ID</td> | |
| 30 | + </tr> | |
| 31 | + <tr> | |
| 32 | + <td>page</td> | |
| 33 | + <td>true</td> | |
| 34 | + <td>string</td> | |
| 35 | + <td>页号</td> | |
| 36 | + </tr> | |
| 37 | + <tr> | |
| 38 | + <td>pageSize</td> | |
| 39 | + <td>true</td> | |
| 40 | + <td>string</td> | |
| 41 | + <td>每页条数</td> | |
| 42 | + </tr> | |
| 43 | + <tr> | |
| 44 | + <td>uuid</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 | + "errorCode": "0", | |
| 62 | + "errorMessage": "success", | |
| 63 | + "data": [ | |
| 64 | + { | |
| 65 | + "id": 1, | |
| 66 | + "icon": "http://y1.cnliveimg.com:8080/img/cnlive/interact/lottery.jpg", | |
| 67 | + "title": "抽奖活动:26期", | |
| 68 | + "description": "恭喜您获得:iphone6s 一部", | |
| 69 | + "url": "http://cnlive.com?cnliveV5=true&action=enc&callback=http://uc.cnlive.com/my/readAward.action?id=1&msgId=1", | |
| 70 | + "time": "2015-12-20 11:10:00", | |
| 71 | + "status": 0 | |
| 72 | + }, | |
| 73 | + { | |
| 74 | + "id": 3, | |
| 75 | + "icon": "http://y2.cnliveimg.com:8080/img/cnlive/interact/system.jpg", | |
| 76 | + "title": "系统消息", | |
| 77 | + "description": "我的系统消息", | |
| 78 | + "url": "http://cnlive.com?cnliveV5=true&action=default&callback=http://uc.cnlive.com/my/readAward.action?msgId=1", | |
| 79 | + "time": "2015-12-20 11:20:00", | |
| 80 | + "status": 0 | |
| 81 | + }, | |
| 82 | + { | |
| 83 | + "id": 4, | |
| 84 | + "icon": "http://y3.cnliveimg.com:8080/img/cnlive/interact/ad.jpg", | |
| 85 | + "title": "推广消息", | |
| 86 | + "description": "我的推广消息", | |
| 87 | + "url": "http://cnlive.com?cnliveV5=true&action=default&callback=http://uc.cnlive.com/my/readAward.action?msgId=1", | |
| 88 | + "time": "2015-12-20 11:25:00", | |
| 89 | + "status": 1 | |
| 90 | + }, | |
| 91 | + { | |
| 92 | + "id": 2, | |
| 93 | + "icon": "http://y2.cnliveimg.com:8080/img/cnlive/interact/system.jpg", | |
| 94 | + "title": "红包消息", | |
| 95 | + "description": "红包: +5", | |
| 96 | + "url": "http://cnlive.com?cnliveV5=true&action=default&callback=http://uc.cnlive.com/my/readAward.action?msgId=1", | |
| 97 | + "time": "2015-12-20 11:15:00", | |
| 98 | + "status": 0 | |
| 99 | + } | |
| 100 | + ], | |
| 101 | + "previous_cursor": "0", | |
| 102 | + "next_cursor": "0", | |
| 103 | + "total_number": "1" | |
| 104 | +} | |
| 105 | +``` | |
| 0 | 106 | \ No newline at end of file | ... | ... |
5. 会员云/4.2 消息-标记消息已读.md
| 1 | +/* | |
| 2 | + Title: 4.2 消息-标记消息已读 | |
| 3 | + Sort: 42 | |
| 4 | +*/ | |
| 5 | +#### URL: http://api.cnlive.com/open/api/CnliveMobile/my/readMyMessage?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>sid</td> | |
| 27 | + <td>true</td> | |
| 28 | + <td>string</td> | |
| 29 | + <td>用户ID</td> | |
| 30 | + </tr> | |
| 31 | + <tr> | |
| 32 | + <td>msgId</td> | |
| 33 | + <td>true</td> | |
| 34 | + <td>string</td> | |
| 35 | + <td>消息ID</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>plat</td> | |
| 45 | + <td>true</td> | |
| 46 | + <td>string</td> | |
| 47 | + <td>客户端平台[i:IOS客户端,a:Android客户端]</td> | |
| 48 | + </tr> | |
| 49 | +</table> | |
| 50 | +----- | |
| 51 | +#### 返回格式说明: | |
| 52 | +``` | |
| 53 | +{ | |
| 54 | + errorCode:"0", | |
| 55 | + errorMsg:"成功" | |
| 56 | +} | |
| 57 | +{ | |
| 58 | + errorCode:"xxx", //错误代码(非0) | |
| 59 | + errorMsg:"失败" //错误信息 | |
| 60 | +} | |
| 61 | +``` | |
| 0 | 62 | \ No newline at end of file | ... | ... |
5. 会员云/4.3 消息-我的未读消息.md
| 1 | +/* | |
| 2 | + Title: 4.3 消息-我的未读消息 | |
| 3 | + Sort: 43 | |
| 4 | +*/ | |
| 5 | +#### URL: http://api.cnlive.com/open/api/CnliveMobile/my/getMyNewMessage?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>sid</td> | |
| 27 | + <td>true</td> | |
| 28 | + <td>string</td> | |
| 29 | + <td>用户ID</td> | |
| 30 | + </tr> | |
| 31 | + <tr> | |
| 32 | + <td>uuid</td> | |
| 33 | + <td>true</td> | |
| 34 | + <td>string</td> | |
| 35 | + <td>设备ID</td> | |
| 36 | + </tr> | |
| 37 | + <tr> | |
| 38 | + <td>plat</td> | |
| 39 | + <td>true</td> | |
| 40 | + <td>string</td> | |
| 41 | + <td>客户端平台[i:IOS客户端,a:Android客户端]</td> | |
| 42 | + </tr> | |
| 43 | +</table> | |
| 44 | +----- | |
| 45 | +#### 返回格式说明: | |
| 46 | +``` | |
| 47 | +{ | |
| 48 | + errorCode:"0", | |
| 49 | + errorMsg:"成功" | |
| 50 | +} | |
| 51 | +{ | |
| 52 | + errorCode:"xxx", //错误代码(非0) | |
| 53 | + errorMsg:"失败" //错误信息 | |
| 54 | +} | |
| 55 | +``` | |
| 0 | 56 | \ No newline at end of file | ... | ... |
5. 会员云/5. 绑定设备pushId.md
| 1 | +/* | |
| 2 | + Title: 5. 绑定设备pushId | |
| 3 | + Sort: 50 | |
| 4 | +*/ | |
| 5 | +#### URL: http://api.cnlive.com/open/api/CnliveMobile/user/updatePushId?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>type</td> | |
| 27 | + <td>true</td> | |
| 28 | + <td>string</td> | |
| 29 | + <td>推送类型(0-友盟,1-个推,2-Jpush)</td> | |
| 30 | + </tr> | |
| 31 | + <tr> | |
| 32 | + <td>pushid</td> | |
| 33 | + <td>true</td> | |
| 34 | + <td>string</td> | |
| 35 | + <td>推送ID</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>plat</td> | |
| 45 | + <td>true</td> | |
| 46 | + <td>string</td> | |
| 47 | + <td>客户端平台[i:IOS客户端,a:Android客户端]</td> | |
| 48 | + </tr> | |
| 49 | +</table> | |
| 50 | +----- | |
| 51 | +#### 返回格式说明: | |
| 52 | +``` | |
| 53 | +{ | |
| 54 | + errorCode:"0", | |
| 55 | + errorMsg:"成功" | |
| 56 | +} | |
| 57 | +{ | |
| 58 | + errorCode:"xxx", //错误代码(非0) | |
| 59 | + errorMsg:"失败" //错误信息 | |
| 60 | +} | |
| 61 | +``` | |
| 0 | 62 | \ No newline at end of file | ... | ... |