更新头像
<h2>请求URL</h2>
<ul>
<li><code>http://ort.me/mobile/customer/updateAvatar</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST</li>
</ul>
<h1>Header</h1>
<pre><code>authorization:Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJqd3RfeWgiLCJleHAiOjE2NTcyNDI3OTMsInN1YiI6IllIIiwiYXVkIjoiZXZlcnkiLCJuYmYiOjE2NTY2Mzc5OTMsImlhdCI6MTY1NjYzNzk5MywianRpIjoxMDAwMSwidWlkIjo0MjV9.iKDq5SyZczUs9IsZOV4H47dtSwu4EWa2XTlSUTouU_A
Accept:application/json, text/plain, */*
</code></pre>
<h2>参数</h2>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>示例</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">avatar</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td><a href="http://ort.me/uploads/">http://ort.me/uploads/</a>...</td>
<td>用户ID</td>
</tr>
</tbody>
</table>
<h2>返回示例</h2>
<pre><code>{
&quot;code&quot;: 10000,
&quot;message&quot;: &quot;头像更新成功&quot;,
&quot;data&quot;: []
}
</code></pre>