用户资料修改
<p>用户资料修改</p>
<h5>简要描述</h5>
<ul>
<li>无</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>{{domain}}web.php/user/setUserInfo</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>post</li>
</ul>
<h5>请求Body参数</h5>
<table>
<thead>
<tr>
<th>参数名</th>
<th>示例值</th>
<th>必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>avatar</td>
<td><a href="https://xiaohuli.yunzhenji.cn/upload/image/658b8d8bb5374.jpg"><a href="https://xiaohuli.yunzhenji.cn/upload/image/658b8d8bb5374.jpg">https://xiaohuli.yunzhenji.cn/upload/image/658b8d8bb5374.jpg</a></a></td>
<td>是</td>
<td>string</td>
<td>头像</td>
</tr>
<tr>
<td>nickname</td>
<td>汪</td>
<td>是</td>
<td>string</td>
<td>昵称</td>
</tr>
</tbody>
</table>
<h5>成功返回示例</h5>
<pre><code>{
&quot;errno&quot;: 0,
&quot;message&quot;: &quot;保存成功&quot;,
&quot;data&quot;: &quot;&quot;
}</code></pre>
<h5>失败返回示例</h5>
<pre><code>{
&quot;errno&quot;: 403,
&quot;message&quot;: &quot;请登录&quot;
}</code></pre>
<h5>备注</h5>