GET api/Cart?userID={userID}
购物车列表
请求信息
URI 参数
参数 | 参数描述 | 类型 | 其它信息 |
---|---|---|---|
userID |
人员 |
string |
Required |
Body 参数
None.
响应信息
响应描述
购物车列表
Collection of cCart参数 | 参数描述 | 类型 | 其它信息 |
---|---|---|---|
GoodsID | string |
None. |
|
GoodsNM | string |
None. |
|
SPrice | decimal number |
None. |
|
SNum | decimal number |
None. |
|
GoodsUrl | string |
None. |
响应格式
application/json, text/json
Sample:
[ { "_GoodsID": "sample string 1", "_GoodsNM": "sample string 2", "_SPrice": 3.0, "_SNum": 4.0, "_GoodsUrl": "sample string 5" }, { "_GoodsID": "sample string 1", "_GoodsNM": "sample string 2", "_SPrice": 3.0, "_SNum": 4.0, "_GoodsUrl": "sample string 5" } ]
text/html
Sample:
[{"_GoodsID":"sample string 1","_GoodsNM":"sample string 2","_SPrice":3.0,"_SNum":4.0,"_GoodsUrl":"sample string 5"},{"_GoodsID":"sample string 1","_GoodsNM":"sample string 2","_SPrice":3.0,"_SNum":4.0,"_GoodsUrl":"sample string 5"}]