GET api/Goods?shopID={shopID}&goodsID={goodsID}&userID={userID}
商品明细
请求信息
URI 参数
| 参数 | 参数描述 | 类型 | 其它信息 |
|---|---|---|---|
| shopID |
门店 |
string |
Required |
| goodsID |
代码 |
string |
Required |
| userID |
人员 |
string |
Required |
Body 参数
None.
响应信息
响应描述
商品明细
Collection of cGoodsDetail| 参数 | 参数描述 | 类型 | 其它信息 |
|---|---|---|---|
| ShopID | string |
None. |
|
| GoodsID | string |
None. |
|
| GoodsNM | string |
None. |
|
| SPrice | decimal number |
None. |
|
| MPrice | decimal number |
None. |
|
| OPrice | decimal number |
None. |
|
| SMNum | decimal number |
None. |
|
| SaleNum | decimal number |
None. |
|
| Remark | string |
None. |
|
| Barcode | string |
None. |
|
| isRecommend | string |
None. |
|
| isCollect | string |
None. |
|
| GoodsUrl | string |
None. |
|
| stardt | string |
None. |
|
| stopdt | string |
None. |
|
| GoodsUrlList | Collection of string |
None. |
|
| GoodsUrls | Collection of cGoodsPic |
None. |
|
| ContentList | Collection of cGoodsContent |
None. |
|
| CommentList | Collection of cCommentG |
None. |
响应格式
application/json, text/json
Sample:
[
{
"_ShopID": "sample string 1",
"_GoodsID": "sample string 2",
"_GoodsNM": "sample string 3",
"_SPrice": 4.0,
"_OPrice": 6.0,
"_MPrice": 5.0,
"_SMNum": 7.0,
"_SaleNum": 8.0,
"_Remark": "sample string 9",
"_Barcode": "sample string 10",
"_isRecommend": "sample string 11",
"_isCollect": "sample string 12",
"_GoodsUrl": "sample string 13",
"_Stardt": "sample string 14",
"_Stopdt": "sample string 15",
"_GoodsUrlList": [
"sample string 1",
"sample string 2"
],
"_GoodsUrls": [
{
"_Sequ": 1,
"_Url": "sample string 2",
"_UrlType": "sample string 3"
},
{
"_Sequ": 1,
"_Url": "sample string 2",
"_UrlType": "sample string 3"
}
],
"_ContentList": [
{
"_Sequ": 1,
"_Type": "sample string 4",
"_Content": "sample string 5"
},
{
"_Sequ": 1,
"_Type": "sample string 4",
"_Content": "sample string 5"
}
],
"_CommentList": [
{
"_UserID": "sample string 1",
"_NickNM": "sample string 2",
"_AvatarUrl": "sample string 3",
"_Gender": "sample string 4",
"_StarNum": 5,
"_Comment": "sample string 6",
"_Commentdt": "sample string 7"
},
{
"_UserID": "sample string 1",
"_NickNM": "sample string 2",
"_AvatarUrl": "sample string 3",
"_Gender": "sample string 4",
"_StarNum": 5,
"_Comment": "sample string 6",
"_Commentdt": "sample string 7"
}
]
},
{
"_ShopID": "sample string 1",
"_GoodsID": "sample string 2",
"_GoodsNM": "sample string 3",
"_SPrice": 4.0,
"_OPrice": 6.0,
"_MPrice": 5.0,
"_SMNum": 7.0,
"_SaleNum": 8.0,
"_Remark": "sample string 9",
"_Barcode": "sample string 10",
"_isRecommend": "sample string 11",
"_isCollect": "sample string 12",
"_GoodsUrl": "sample string 13",
"_Stardt": "sample string 14",
"_Stopdt": "sample string 15",
"_GoodsUrlList": [
"sample string 1",
"sample string 2"
],
"_GoodsUrls": [
{
"_Sequ": 1,
"_Url": "sample string 2",
"_UrlType": "sample string 3"
},
{
"_Sequ": 1,
"_Url": "sample string 2",
"_UrlType": "sample string 3"
}
],
"_ContentList": [
{
"_Sequ": 1,
"_Type": "sample string 4",
"_Content": "sample string 5"
},
{
"_Sequ": 1,
"_Type": "sample string 4",
"_Content": "sample string 5"
}
],
"_CommentList": [
{
"_UserID": "sample string 1",
"_NickNM": "sample string 2",
"_AvatarUrl": "sample string 3",
"_Gender": "sample string 4",
"_StarNum": 5,
"_Comment": "sample string 6",
"_Commentdt": "sample string 7"
},
{
"_UserID": "sample string 1",
"_NickNM": "sample string 2",
"_AvatarUrl": "sample string 3",
"_Gender": "sample string 4",
"_StarNum": 5,
"_Comment": "sample string 6",
"_Commentdt": "sample string 7"
}
]
}
]
text/html
Sample:
[{"_ShopID":"sample string 1","_GoodsID":"sample string 2","_GoodsNM":"sample string 3","_SPrice":4.0,"_OPrice":6.0,"_MPrice":5.0,"_SMNum":7.0,"_SaleNum":8.0,"_Remark":"sample string 9","_Barcode":"sample string 10","_isRecommend":"sample string 11","_isCollect":"sample string 12","_GoodsUrl":"sample string 13","_Stardt":"sample string 14","_Stopdt":"sample string 15","_GoodsUrlList":["sample string 1","sample string 2"],"_GoodsUrls":[{"_Sequ":1,"_Url":"sample string 2","_UrlType":"sample string 3"},{"_Sequ":1,"_Url":"sample string 2","_UrlType":"sample string 3"}],"_ContentList":[{"_Sequ":1,"_Type":"sample string 4","_Content":"sample string 5"},{"_Sequ":1,"_Type":"sample string 4","_Content":"sample string 5"}],"_CommentList":[{"_UserID":"sample string 1","_NickNM":"sample string 2","_AvatarUrl":"sample string 3","_Gender":"sample string 4","_StarNum":5,"_Comment":"sample string 6","_Commentdt":"sample string 7"},{"_UserID":"sample string 1","_NickNM":"sample string 2","_AvatarUrl":"sample string 3","_Gender":"sample string 4","_StarNum":5,"_Comment":"sample string 6","_Commentdt":"sample string 7"}]},{"_ShopID":"sample string 1","_GoodsID":"sample string 2","_GoodsNM":"sample string 3","_SPrice":4.0,"_OPrice":6.0,"_MPrice":5.0,"_SMNum":7.0,"_SaleNum":8.0,"_Remark":"sample string 9","_Barcode":"sample string 10","_isRecommend":"sample string 11","_isCollect":"sample string 12","_GoodsUrl":"sample string 13","_Stardt":"sample string 14","_Stopdt":"sample string 15","_GoodsUrlList":["sample string 1","sample string 2"],"_GoodsUrls":[{"_Sequ":1,"_Url":"sample string 2","_UrlType":"sample string 3"},{"_Sequ":1,"_Url":"sample string 2","_UrlType":"sample string 3"}],"_ContentList":[{"_Sequ":1,"_Type":"sample string 4","_Content":"sample string 5"},{"_Sequ":1,"_Type":"sample string 4","_Content":"sample string 5"}],"_CommentList":[{"_UserID":"sample string 1","_NickNM":"sample string 2","_AvatarUrl":"sample string 3","_Gender":"sample string 4","_StarNum":5,"_Comment":"sample string 6","_Commentdt":"sample string 7"},{"_UserID":"sample string 1","_NickNM":"sample string 2","_AvatarUrl":"sample string 3","_Gender":"sample string 4","_StarNum":5,"_Comment":"sample string 6","_Commentdt":"sample string 7"}]}]