上传图片文件接口
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>上传图片文件接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://api.magicalday.cn/home/UploadFile</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST </li>
</ul>
<h5>参数</h5>
<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;">file</td>
<td style="text-align: left;">file</td>
<td>头像文件</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>{
&quot;code&quot;:0,
&quot;msg&quot;:&quot;&quot;,
&quot;count&quot;:0,
&quot;data&quot;:{
&quot;file_url&quot;:&quot;http://api.magicalday.cn/Static/Business/back-icon@2x.png&quot;
}
}</code></pre>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>