Commit d3c2a7339954a4d87352fa209861dc5bcd724926
1 parent
9251824b
新增互动云1.8
Showing
1 changed file
with
82 additions
and
0 deletions
05.互动云/1.8评论-加载朋友圈评论和回复.md
0 → 100644
| 1 | +/* | |
| 2 | + Title: 1.8 加载朋友圈评论和回复 | |
| 3 | + Sort: 18 | |
| 4 | +*/ | |
| 5 | +#### URL: https://api.cnlive.com/open/api2/commentServices/services/commentForChatBySpId/loadComment | |
| 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>appId</td> | |
| 21 | + <td>true</td> | |
| 22 | + <td>string</td> | |
| 23 | + <td>应用ID</td> | |
| 24 | + </tr> | |
| 25 | + <tr> | |
| 26 | + <td>plat</td> | |
| 27 | + <td>true</td> | |
| 28 | + <td>string</td> | |
| 29 | + <td>i=IOS客户端,a=Android客户端</td> | |
| 30 | + </tr> | |
| 31 | + <tr> | |
| 32 | + <td>id</td> | |
| 33 | + <td>true</td> | |
| 34 | + <td>string</td> | |
| 35 | + <td>主题ID</td> | |
| 36 | + </tr> | |
| 37 | + <tr> | |
| 38 | + <td>commentId</td> | |
| 39 | + <td>true</td> | |
| 40 | + <td>string</td> | |
| 41 | + <td>评论ID</td> | |
| 42 | + </tr> | |
| 43 | + <tr> | |
| 44 | + <td>count</td> | |
| 45 | + <td>true</td> | |
| 46 | + <td>string</td> | |
| 47 | + <td>查询条数</td> | |
| 48 | + </tr> | |
| 49 | + <tr> | |
| 50 | + <td>sign</td> | |
| 51 | + <td>true</td> | |
| 52 | + <td>string</td> | |
| 53 | + <td>签名</td> | |
| 54 | + </tr> | |
| 55 | +</table> | |
| 56 | + | |
| 57 | +----- | |
| 58 | +#### 返回格式说明: | |
| 59 | +``` | |
| 60 | +{ | |
| 61 | + "errorCode": "0", | |
| 62 | + "errorMessage": "成功", | |
| 63 | + "data": { | |
| 64 | + "comments": [ | |
| 65 | + { | |
| 66 | + "commentId": "27", | |
| 67 | + "fromSid": "10514228", | |
| 68 | + "fromNick": "某某莫", | |
| 69 | + "fromFace": "https://wjj.ys1.cnliveimg.com/769/img/2018/0416/head_c.png", | |
| 70 | + "toSid": "145680", | |
| 71 | + "toNick": "missa", | |
| 72 | + "content": "哈哈", | |
| 73 | + "type": "comment", | |
| 74 | + "created_at": "2018-12-19 17:14", | |
| 75 | + "plat": "a" | |
| 76 | + } | |
| 77 | + ], | |
| 78 | + "hasNext": "true" | |
| 79 | + } | |
| 80 | +} | |
| 81 | + | |
| 82 | +``` | |
| 0 | 83 | \ No newline at end of file | ... | ... |