添加照片墙
<h5>简要描述</h5>
<ul>
<li>添加照片</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://api.9lele.com/public/index.php/api/goods/addphoto</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>post</li>
</ul>
<h5>Header</h5>
<table>
<thead>
<tr>
<th>header</th>
<th>示例值</th>
<th>必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>Token</td>
<td>9f005d19-987c-412f-859a-bccd850155b2</td>
<td>是</td>
<td>string</td>
<td>登录成功后获取的token</td>
</tr>
</tbody>
</table>
<h5>请求Body参数</h5>
<table>
<thead>
<tr>
<th>参数名</th>
<th>示例值</th>
<th>必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>gid</td>
<td>85</td>
<td>是</td>
<td>string</td>
<td>添加商品的gid</td>
</tr>
<tr>
<td>url</td>
<td>/uploads/20240427/09be4f48a532954b5f76d6d2b200fe63.jpg</td>
<td>是</td>
<td>string</td>
<td>图片地址</td>
</tr>
<tr>
<td>type</td>
<td>1</td>
<td>是</td>
<td>string</td>
<td>类型 1 图片 2 视频</td>
</tr>
</tbody>
</table>
<h5>成功返回示例</h5>
<pre><code>{
&quot;code&quot;: 1,
&quot;msg&quot;: &quot;返回成功&quot;,
&quot;time&quot;: &quot;1714185428&quot;,
&quot;data&quot;: null
}</code></pre>