GET api/Goodsc?shopID={shopID}&goodsNM={goodsNM}&canSale={canSale}&pageIndex={pageIndex}&pageSize={pageSize}
商品列表.按页
请求信息
URI 参数
参数 | 参数描述 | 类型 | 其它信息 |
---|---|---|---|
shopID |
门店 |
string |
Required |
goodsNM |
商品 |
string |
Required |
canSale |
状态0-未上架,1-上架,2-无库存,A-所有 |
string |
Required |
pageIndex |
页数 |
integer |
Required |
pageSize |
页长度 |
integer |
Required |
Body 参数
None.
响应信息
响应描述
商品列表
Collection of cGoodsc参数 | 参数描述 | 类型 | 其它信息 |
---|---|---|---|
GoodsID | string |
None. |
|
GoodsNM | string |
None. |
|
Barcode | string |
None. |
|
GoodsUrl | string |
None. |
|
SPrice | decimal number |
None. |
|
SPPrice | decimal number |
None. |
|
PRate | decimal number |
None. |
|
Remark | string |
None. |
|
Cansale | string |
None. |
|
isRecommend | string |
None. |
|
SMNum | decimal number |
None. |
|
SaleNum | decimal number |
None. |
|
CollectNum | integer |
None. |
响应格式
application/json, text/json
Sample:
[ { "_GoodsID": "sample string 1", "_GoodsNM": "sample string 2", "_Barcode": "sample string 3", "_GoodsUrl": "sample string 4", "_SPrice": 5.0, "_SPPrice": 6.0, "_PRate": 7.0, "_Remark": "sample string 8", "_Cansale": "sample string 9", "_isRecommend": "sample string 10", "_SMNum": 11.0, "_SaleNum": 12.0, "_CollectNum": 13 }, { "_GoodsID": "sample string 1", "_GoodsNM": "sample string 2", "_Barcode": "sample string 3", "_GoodsUrl": "sample string 4", "_SPrice": 5.0, "_SPPrice": 6.0, "_PRate": 7.0, "_Remark": "sample string 8", "_Cansale": "sample string 9", "_isRecommend": "sample string 10", "_SMNum": 11.0, "_SaleNum": 12.0, "_CollectNum": 13 } ]
text/html
Sample:
[{"_GoodsID":"sample string 1","_GoodsNM":"sample string 2","_Barcode":"sample string 3","_GoodsUrl":"sample string 4","_SPrice":5.0,"_SPPrice":6.0,"_PRate":7.0,"_Remark":"sample string 8","_Cansale":"sample string 9","_isRecommend":"sample string 10","_SMNum":11.0,"_SaleNum":12.0,"_CollectNum":13},{"_GoodsID":"sample string 1","_GoodsNM":"sample string 2","_Barcode":"sample string 3","_GoodsUrl":"sample string 4","_SPrice":5.0,"_SPPrice":6.0,"_PRate":7.0,"_Remark":"sample string 8","_Cansale":"sample string 9","_isRecommend":"sample string 10","_SMNum":11.0,"_SaleNum":12.0,"_CollectNum":13}]