文档
测试

获取购物车列表

GET
http://daduhui.mangotechdemo.com.au/webapi/Cart/GetCartList?userId=1

请求参数

参数名
类型
描述
必填
uerid
long
用户id
必填

说明 / 示例

{ "model": { "TotalPrice": 566, //总价 "cartResponses": [ { "BusinessUserId": 4,商家id "BusinessName": "parker",商家姓名 "UserId": 1,下单用户id "TotalPrice": 296,该商家商品总价 不包含邮费 "CartInfos": [ { "BusinessUserId": 4, "BusinessName": "parker", "ProductId": 1,商品id "ProductName": "aa",商品名称 "OriginalPrice": 15,商品原始价格 "WebPrice": 13,商品现价 "CoverFileName": "202012161135.jpg", "ProductAmount": 2,商品下单量 "Tags": "新品",商品标签 "FreightType": 1,商品运费类型 0包邮 1 不包邮 2 自提 "Freight": 13, 运费价格 "FreightTypeName": "不包邮", 运费类型名称 "DeliveryAddress": "", 提货地址 "PicCoverUrl": "http://localhost:5062/api/media/image/3/202012161135.jpg" 封面图url }, { "BusinessUserId": 4, "BusinessName": "parker", "ProductId": 2, "ProductName": "测试商品1", "OriginalPrice": 100, "WebPrice": 90, "CoverFileName": "", "ProductAmount": 3, "Tags": "", "FreightType": 1, "Freight": 15, "FreightTypeName": "不包邮", "DeliveryAddress": "", "PicCoverUrl": "" } ] }, { "BusinessUserId": 3, "BusinessName": "patricksensori", "UserId": 1, "TotalPrice": 270, "CartInfos": [ { "BusinessUserId": 3, "BusinessName": "patricksensori", "ProductId": 7, "ProductName": "ff", "OriginalPrice": 100, "WebPrice": 90, "CoverFileName": null, "ProductAmount": 3, "Tags": null, "FreightType": 1, "Freight": 15, "FreightTypeName": "不包邮", "DeliveryAddress": null, "PicCoverUrl": "" } ] } ] }, "code": 1, "msg": null }