查询全部商品
<h5>简要描述</h5>
<ul>
<li>查询全部商品</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>/api/good?bid=</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>GET </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;">sid</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>商家号</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code> {
"error_code": 0,
"msg": "Success",
"data": [
{
"pid": 20025,
"pname": "百乐签字笔",
"pprice": 12.80,
"mprice": 13.00,
"c1id": 12,
"c2id": 4,
"pstatus": 1
},
{
"pid": 20026,
"pname": "晨光笔袋",
"pprice": 28.00,
"mprice": 30.00,
"c1id": 12,
"c2id": 6,
"pstatus": 1
}
]
}</code></pre>
<h5>备注</h5>