获取货品列表
<p><strong>简要描述:</strong> </p>
<ul>
<li>--获取货品列表</li>
</ul>
<p><strong>请求URL:</strong>
<a href="https://xx.com:9054/WH_Ware_Goods/getGoodsList">https://xx.com:9054/WH_Ware_Goods/getGoodsList</a>
<a href="http://xx.com:8054/WH_Ware_Goods/getGoodsList">http://xx.com:8054/WH_Ware_Goods/getGoodsList</a></p>
<p><strong>请求方式:</strong></p>
<ul>
<li>Get;Post</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;">shopsid</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>门店编码</td>
</tr>
<tr>
<td style="text-align: left;">groupid</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>集团码</td>
</tr>
<tr>
<td style="text-align: left;">ctype</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>查询类型(0:所有可见,1:门店自有)</td>
</tr>
<tr>
<td style="text-align: left;">goodscate</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>类型编码</td>
</tr>
<tr>
<td style="text-align: left;">suppliercode</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>供应商编码</td>
</tr>
<tr>
<td style="text-align: left;">goodscode</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>货品编码(查单个时传)</td>
</tr>
<tr>
<td style="text-align: left;">keys</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>关键字查询(货品编码、货品名称、简码模糊查询)</td>
</tr>
<tr>
<td style="text-align: left;">page</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>页码(不传或传0 不分页)</td>
</tr>
<tr>
<td style="text-align: left;">pagesize</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>每页条数</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<p>{
"error": 0,
"Comment": "操作成功!",
"Value": "[{\"goodscate\":\"004\",\"goodscode\":\"R0040040006\",\"goodsname\":\"火龙果\",\"standard\":null,\"shortkey\":\"HLG\",\"unit\":\"斤\",\"salesratio\":1,\"planprice\":80.0000,\"suppliercode\":\"R0003333333333333333\",\"recprice\":0.0000,\"dispatchprice\":2.0000,\"isheadquarter\":\"1\",\"isvisible\":null,\"isenabled\":true,\"shelfllife\":20,\"comment\":null,\"inventorytype\":\"1\",\"attribute\":\"2\",\"isuseforspecial\":null},{\"goodscate\":\"0906\",\"goodscode\":\"R00040001\",\"goodsname\":\"华为手机\",\"standard\":null,\"shortkey\":\"HWSJ\",\"unit\":\"台\",\"salesratio\":1,\"planprice\":0.0000,\"suppliercode\":\"R0002\",\"recprice\":0.0000,\"dispatchprice\":0.0000,\"isheadquarter\":\"1\",\"isvisible\":true,\"isenabled\":true,\"shelfllife\":null,\"comment\":null,\"inventorytype\":\"1\",\"attribute\":\"0\",\"isuseforspecial\":null},{\"goodscate\":\"0911\",\"goodscode\":\"R00010038\",\"goodsname\":\"易方学姐\",\"standard\":null,\"shortkey\":\"YFXJ\",\"unit\":\"达\",\"salesratio\":1,\"planprice\":0.0000,\"suppliercode\":null,\"recprice\":45.0000,\"dispatchprice\":0.0000,\"isheadquarter\":\"1\",\"isvisible\":true,\"isenabled\":true,\"shelfllife\":null,\"comment\":null,\"inventorytype\":\"1\",\"attribute\":\"0\",\"isuseforspecial\":null}]",
"count": 167
}</p>
<p><strong>返回参数说明</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<p>说明:
error=0 成功
error=1 Comment=错误原因</p>
<p>count分页时传回总条数</p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>