暮色新版

暮色新版


用户修改选择的头像

<p><strong>简要描述:</strong> </p> <ul> <li>用户修改选择的头像</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li> <p><code>http://testing.zlmicro.com/index.php?g=App&amp;m=Diyapp&amp;a=editHeadPortrait</code></p> </li> <li><code>http://testing.zlmicro.com/muse/v1/user/editHeadPortrait</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>GET</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;">userid</td> <td style="text-align: left;">是</td> <td style="text-align: left;">int</td> <td>用户id</td> </tr> <tr> <td style="text-align: left;">sessionid</td> <td style="text-align: left;">是</td> <td style="text-align: left;">int</td> <td>sessionid</td> </tr> <tr> <td style="text-align: left;">headPortrait</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>头像url,例如:<a href="https://zlmicro.oss-cn-shenzhen.aliyuncs.com/images/head_portrait/boy01.png">https://zlmicro.oss-cn-shenzhen.aliyuncs.com/images/head_portrait/boy01.png</a></td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code>{ "response": { "result": true, "errorCode": 10000, "msg": "成功" } }</code></pre> <p><strong>备注</strong> </p> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML