商品列表
<p><strong>请求URI:</strong></p>
<ul>
<li><code>/goods</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>GET <code>AUTH</code></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;">goods_type</td>
<td style="text-align: left;">require,in:0,1,2,integer</td>
<td style="text-align: left;">int</td>
<td>类型:0=商品,1=项目,2=计次</td>
</tr>
</tbody>
</table>
<p><strong>返回示例:</strong></p>
<pre><code>{
&quot;msg&quot;: &quot;请求成功&quot;,
&quot;data&quot;: [
{
&quot;goods_number&quot;: &quot;&quot;,//商品编号
&quot;goods_type&quot;: 2,//类型:0=商品,1=项目,2=计次
&quot;merchant_uid&quot;: &quot;2241017519160001&quot;,
&quot;goods_uid&quot;: &quot;12241111383090001&quot;,//商品唯一值
&quot;bar_code&quot;: &quot;&quot;,//条形码
&quot;title&quot;: &quot;有损耗捆绑服务&quot;,//名称
&quot;sale_price&quot;: 300,//售价(分)
&quot;customer_price&quot;: 280,//会员价(分)
&quot;wholesale_price&quot;: 200,//批发价(分)
&quot;customer_day_price&quot;: 260,//会员日价(分)
&quot;cost_price&quot;: 150,//成本价(分)
&quot;use_type&quot;: 0,//使用方式:0=自用,1=分享,2=合作商
&quot;ban_switch&quot;: 0//禁用:0=否,1=是
},
{
&quot;goods_number&quot;: &quot;&quot;,
&quot;goods_type&quot;: 1,
&quot;merchant_uid&quot;: &quot;2241017519160001&quot;,
&quot;goods_uid&quot;: &quot;12241111381250001&quot;,
&quot;bar_code&quot;: &quot;&quot;,
&quot;title&quot;: &quot;有损耗捆绑服务&quot;,
&quot;sale_price&quot;: 300,
&quot;customer_price&quot;: 280,
&quot;wholesale_price&quot;: 200,
&quot;customer_day_price&quot;: 260,
&quot;cost_price&quot;: 150,
&quot;use_type&quot;: 0,
&quot;ban_switch&quot;: 0
},
{
&quot;goods_number&quot;: &quot;&quot;,
&quot;goods_type&quot;: 0,
&quot;merchant_uid&quot;: &quot;2241017519160001&quot;,
&quot;goods_uid&quot;: &quot;12241111380950001&quot;,
&quot;bar_code&quot;: &quot;&quot;,
&quot;title&quot;: &quot;有损耗捆绑商品&quot;,
&quot;sale_price&quot;: 300,
&quot;customer_price&quot;: 280,
&quot;wholesale_price&quot;: 200,
&quot;customer_day_price&quot;: 260,
&quot;cost_price&quot;: 150,
&quot;use_type&quot;: 0,
&quot;ban_switch&quot;: 0
}
],
&quot;code&quot;: 0
}</code></pre>