上传图片
<p><strong>简要描述:</strong> </p>
<ul>
<li>上传图片</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://106.15.251.200:8686/legal/msg/weChatUpload</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST </li>
</ul>
<p><strong>参数:</strong> </p>
<p>Headers:
token: 8881540f8804123978c68ddca4009016
userId: 2</p>
<p><img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/a562dd5e46d1613fa84236c77f83f039" alt="" /></p>
<p><strong>返回示例</strong></p>
<pre><code> {
"status": "1",
"msg": "https://legal-my.oss-cn-shanghai.aliyuncs.com/wechat2020/12/03/db16e4640df7433ebf1d654f86425b59001.png",
"data": "https://legal-my.oss-cn-shanghai.aliyuncs.com/wechat2020/12/03/db16e4640df7433ebf1d654f86425b59001.png"
}</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;">status</td>
<td style="text-align: left;">int</td>
<td>状态id, 1:成功 0:失败</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></td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>
<p>欢迎使用ShowDoc!</p>