CU


获取用户聊天列表

<p><strong>简要描述:</strong></p> <ul> <li>获取用户聊天列表</li> </ul> <p><strong>请求URL:</strong></p> <ul> <li> <p>开发环境<code>https://api.cuseeyou.cn/cu-api/api/chat/user/window</code></p> </li> <li> <p>测试环境<code>暂无</code></p> </li> <li>正式环境<code>暂无</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li><code>POST</code></li> </ul> <p><strong>参数:</strong></p> <pre><code class="language-json">{ "userCode":"1,2,3" }</code></pre> <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;">userCode</td> <td style="text-align: left;">是</td> <td style="text-align: left;">String</td> <td>当前登录的用户code,逗号分隔</td> </tr> </tbody> </table> <p><strong>返回状态码</strong></p> <pre><code>Responst Code { 0 }</code></pre> <p><strong>返回示例</strong></p> <pre><code class="language-json">{ "code": 0, "msg": "success", "data": [ { "userSex": 1, "userAvater": "https://krxc.oss-cn-chengdu.aliyuncs.com/20210319/40bbc00da3a0451593908cb80655a6ca.jpg", "userMemberType": 2, "userDeclaration": "this is my life 666", "userNickName": "cookie", "userCode": "1" }, { "userSex": 1, "userAvater": "https://krxc.oss-cn-chengdu.aliyuncs.com/20210319/40bbc00da3a0451593908cb80655a6ca.jpg", "userMemberType": 1, "userDeclaration": "好好学习天天向上", "userNickName": "cookie", "userCode": "2" }, { "userSex": 1, "userAvater": "https://krxc.oss-cn-chengdu.aliyuncs.com/20210319/40bbc00da3a0451593908cb80655a6ca.jpg", "userMemberType": 2, "userDeclaration": "好好学习天天向上", "userNickName": "cookie", "userCode": "3" } ] }</code></pre> <p><strong>返回参数说明</strong></p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">code</td> <td style="text-align: left;">int</td> <td>返回状态码 0-修改成功 500-修改失败</td> </tr> <tr> <td style="text-align: left;">msg</td> <td style="text-align: left;">string</td> <td>返回信息</td> </tr> <tr> <td style="text-align: left;">list</td> <td style="text-align: left;">List</td> <td><code>参考下方好友表字段</code></td> </tr> </tbody> </table> <p>好友表</p> <table> <thead> <tr> <th>参数名</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>userCode</td> <td>String</td> <td>用户code</td> </tr> <tr> <td>userAvater</td> <td>String</td> <td>用户头像</td> </tr> <tr> <td>friendNickName</td> <td>String</td> <td>用户昵称</td> </tr> <tr> <td>userDeclaration</td> <td>String</td> <td>个性签名</td> </tr> <tr> <td>userSex</td> <td>Integer</td> <td>性别 1-男 2-女</td> </tr> <tr> <td>userMemberType</td> <td>Integer</td> <td>会员类型 1-非会员 2-会员</td> </tr> </tbody> </table>

页面列表

ITEM_HTML