上传图片
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>https://admin.wowzhixiang.com/addons/zjhj_mall/core/web/index.php?r=upload/save-img</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST </li>
</ul>
<p><strong>头部:</strong>
Content-type: image/jpeg</p>
<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>图片文件</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>
http://skdjksd.img
</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;">url</td>
<td style="text-align: left;">string</td>
<td>图片链接路径</td>
</tr>
</tbody>
</table>