CU


用户详情*

<p><strong>简要描述:</strong></p> <ul> <li>用户详情</li> </ul> <p><strong>请求URL:</strong></p> <ul> <li> <p>本地环境<code>http://16i128w468.imwork.net/wechat-api/user/{userCode}</code></p> </li> <li> <p>测试环境<code>http://tencentisux.hhhhcu.com/wechat-api/user/{userCode}</code></p> </li> <li>正式环境<code>暂无</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li><code>GET</code></li> </ul> <p><strong>参数:</strong></p> <pre><code>/{userCode}</code></pre> <p><strong>返回状态码</strong></p> <pre><code>Responst Code { 0 }</code></pre> <p><strong>返回示例</strong></p> <pre><code>{ "code": 0, "msg": "success", "data": { "userSex_dictText": "男", "userSex": 1, "userAvater": "https://krxc.oss-cn-chengdu.aliyuncs.com/20210319/40bbc00da3a0451593908cb80655a6ca.jpg", "id": 1, "userNickName": "cookie", "userCode": "1", "userBirthday": "1996-12-04 00:00:00" } }</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;">data</td> <td style="text-align: left;">object</td> <td><code>参考下方用户表字段</code></td> </tr> </tbody> </table> <p><strong>用户表(user)</strong></p> <table> <thead> <tr> <th>参数名</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>id</td> <td>int</td> <td>id</td> </tr> <tr> <td>userCode</td> <td>String</td> <td>用户code</td> </tr> <tr> <td>userAvater</td> <td>String</td> <td>头像</td> </tr> <tr> <td>userSex</td> <td>int</td> <td>性别</td> </tr> <tr> <td>userNickName</td> <td>String</td> <td>昵称</td> </tr> <tr> <td>userBirthday</td> <td>date</td> <td>生日</td> </tr> </tbody> </table>

页面列表

ITEM_HTML