POST xuner/soc/Social/getshoppingCart
获取购物车商品
请求信息
URI 参数
无。
Body 参数
ShoppingCartRequest名称 | 描述 | 类型 | 附加信息 |
---|---|---|---|
openId | string |
无。 |
|
pageNum |
取第几页的数据 |
integer |
无。 |
PageSize |
每页多少条数据,默认10 |
integer |
无。 |
请求格式
application/json, text/json
样例:
{ "openId": "sample string 1", "pageNum": 2, "PageSize": 3 }
响应信息
资源描述
获取购物车商品
gSocResponseOfListOfShoppingCart名称 | 描述 | 类型 | 附加信息 |
---|---|---|---|
data | Collection of ShoppingCart |
无。 |
|
req | string |
无。 |
|
msg | string |
无。 |
|
code | integer |
无。 |
响应格式
application/json, text/json
样例:
{ "data": [ { "productId": "sample string 1", "productSkuId": "sample string 2", "imgUrl": "sample string 3", "productName": "sample string 4", "specs": [ { "specsName": "sample string 1", "specsOptionAttr": "sample string 2", "specsOptionAttrCode": "sample string 3" }, { "specsName": "sample string 1", "specsOptionAttr": "sample string 2", "specsOptionAttrCode": "sample string 3" } ], "shopPrice": 5.0, "scorePrice": 6.0, "shopCount": "sample string 7", "productCount": 8, "cartId": 9, "status": 10, "selectStatus": 11, "spuCount": 12, "activityType": 13, "discountData": "sample string 14", "Ischecked": true }, { "productId": "sample string 1", "productSkuId": "sample string 2", "imgUrl": "sample string 3", "productName": "sample string 4", "specs": [ { "specsName": "sample string 1", "specsOptionAttr": "sample string 2", "specsOptionAttrCode": "sample string 3" }, { "specsName": "sample string 1", "specsOptionAttr": "sample string 2", "specsOptionAttrCode": "sample string 3" } ], "shopPrice": 5.0, "scorePrice": 6.0, "shopCount": "sample string 7", "productCount": 8, "cartId": 9, "status": 10, "selectStatus": 11, "spuCount": 12, "activityType": 13, "discountData": "sample string 14", "Ischecked": true } ], "req": "sample string 1", "msg": "sample string 2", "code": 3 }