商品规格
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>商品规格接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>index/get_goods_specList</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 style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">goods_id</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>商品编号</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code> {
&quot;code&quot;: 10000,
&quot;msg&quot;: &quot;success&quot;,
&quot;time&quot;: 1731485081,
&quot;data&quot;: [
{
&quot;spec_name&quot;: &quot;商品5规格2&quot;,
&quot;spec_price&quot;: &quot;12.00&quot;
},
{
&quot;spec_name&quot;: &quot;商品5规格1&quot;,
&quot;spec_price&quot;: &quot;10.00&quot;
}
]
}</code></pre>
<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;">spec_name</td>
<td style="text-align: left;">string</td>
<td>规格名称</td>
</tr>
<tr>
<td style="text-align: left;">spec_price</td>
<td style="text-align: left;">string</td>
<td>规格金额</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>