guigui


对话列表

<p><strong>简要描述:</strong> </p> <ul> <li>可发起对话的用户列表</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>http://guigui.thinkerx.com/chat/list</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>POST </li> </ul> <p><strong>参数:</strong> </p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">uid</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>用户id</td> </tr> <tr> <td style="text-align: left;">key</td> <td style="text-align: left;">否</td> <td style="text-align: left;">string</td> <td>搜索关键字</td> </tr> </tbody> </table> <p><strong>上传数据样式</strong></p> <pre><code>{ "uid": 1, "key":"" }</code></pre> <p><strong>返回示例</strong></p> <pre><code>{ "status": 1, "msg": "请求成功", "data": [ { "id": 31, "name": "用户139*9840", "phone": "13961889840", "role": null, "vip": 1, "order_space": -1, "avatar": "", "province": "", "city": "", "district": "", "address": "", "create_time": "2019-02-19 21:25:16", "status": 1, "remarks": "", "edition": "", "direct": 0, "ucenter_id": null, "register_id": null, "logo_url": null, "unread": 3, "talk_time": "2019-05-09 11:21:12", "differ_create_time": "10月前" }, { "id": 2148, "name": "柜柜app技术支持", "phone": "19934401557", "role": null, "vip": 1, "order_space": -1, "avatar": "", "province": "", "city": "", "district": "", "address": "", "create_time": "2019-05-20 15:40:47", "status": 1, "remarks": "", "edition": "工厂版", "direct": 0, "ucenter_id": 1339, "register_id": null, "logo_url": "http://eggrj.oss-cn-hangzhou.aliyuncs.com/logos/1578990876359.png", "unread": 0, "talk_time": "", "differ_create_time": "" } ] }</code></pre>

页面列表

ITEM_HTML