设置用户头像
<p>说明:设置用户头像</p>
<p>接口路径 :<strong>/fy/appUser/updateAvatarUrl</strong></p>
<p><strong>Content-Type</strong>: application/x-www-form-urlencoded </p>
<p>请求参数:</p>
<table>
<thead>
<tr>
<th>参数</th>
<th>参数类型</th>
<th>说明</th>
<th>备注</th>
<th>必填</th>
</tr>
</thead>
<tbody>
<tr>
<td>userId</td>
<td>number</td>
<td>用户ID</td>
<td></td>
<td>是</td>
</tr>
<tr>
<td>avatarUrl</td>
<td>string</td>
<td>用户头像路径</td>
<td></td>
<td>是</td>
</tr>
</tbody>
</table>
<p>示例:
data ={"avatarUrl":"<a href="http://www.ba.cc/il.jpg","userId":1">http://www.ba.cc/il.jpg","userId":1</a>}</p>
<p>响应返回:</p>
<table>
<thead>
<tr>
<th>参数</th>
<th>参数类型</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td>result</td>
<td>String</td>
<td>成功为success</td>
</tr>
<tr>
<td>resultData</td>
<td>String</td>
<td>json数据格式,响应数据。</td>
</tr>
<tr>
<td>resultMsg</td>
<td>String</td>
<td>提示,列如,成功或失败等</td>
</tr>
<tr>
<td>resultCode</td>
<td>String</td>
<td>0成功,其它失败</td>
</tr>
</tbody>
</table>
<p>示例:
{"result":"success","resultCode":0,"resultMsg":"成功"}</p>