修改规格
<h5>简要描述</h5>
<ul>
<li>修改规格</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://api.9lele.com/public/index.php/api/goods/editsku</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>id</td>
<td>36</td>
<td>是</td>
<td>string</td>
<td>规格id</td>
</tr>
<tr>
<td>gid</td>
<td>85</td>
<td>是</td>
<td>string</td>
<td>添加商品获取的gid</td>
</tr>
<tr>
<td>name</td>
<td>成人票</td>
<td>是</td>
<td>string</td>
<td>规格名称</td>
</tr>
<tr>
<td>price</td>
<td>60</td>
<td>是</td>
<td>string</td>
<td>价格</td>
</tr>
<tr>
<td>salesnum</td>
<td>1000</td>
<td>是</td>
<td>string</td>
<td>库存</td>
</tr>
<tr>
<td>namebak</td>
<td>成人票</td>
<td>是</td>
<td>string</td>
<td>属性名称</td>
</tr>
<tr>
<td>remark</td>
<td>概不退换</td>
<td>是</td>
<td>string</td>
<td>备注</td>
</tr>
</tbody>
</table>
<h5>成功返回示例</h5>
<pre><code>{
&quot;code&quot;: 1,
&quot;msg&quot;: &quot;返回成功&quot;,
&quot;time&quot;: &quot;1714183103&quot;,
&quot;data&quot;: null
}</code></pre>