上传
<p><strong>请求URI:</strong></p>
<ul>
<li><code>/mall-api/haswallowmalladmin/upload</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST</li>
</ul>
<p><strong>参数:</strong></p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<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;">是</td>
<td style="text-align: left;">file</td>
<td>上传文件(jpg,jpeg,png,gif,webp,mp4,wav)</td>
</tr>
</tbody>
</table>
<p><strong>返回示例:</strong></p>
<pre><code>{
&quot;msg&quot;: &quot;请求成功&quot;,
&quot;data&quot;: {
&quot;url&quot;: &quot;https://mall.haswallow.cn/uploads/20240306/6ec066827e63e2421f90683d92dd394d.png&quot;,
},
&quot;code&quot;: 0
}</code></pre>