购物车列表
开发中GET
/user/cart/lst{
"status": 200,
"message": "success",
"data": {
"list": [
{
"mer_id": 56,
"mer_name": "小红红小卖部",
"mer_state": 0,
"mer_avatar": "",
"list": [
{
"cart_id": 733,
"uid": 7211,
"mer_id": 56,
"product_type": 0,
"product_id": 200,
"product_attr_unique": "e89f798e4af0",
"cart_num": 2,
"create_time": "2020-05-30 16:04:17",
"is_pay": 0,
"is_del": 0,
"is_new": 0,
"is_fail": 0,
"product": {
"product_id": 200,
"store_name": "三体",
"is_show": 1,
"status": 1,
"is_del": 0,
"unit_name": "个",
"price": "14.00",
"mer_status": 1
},
"productAttr": {
"product_id": 200,
"stock": 100,
"price": "19.00",
"unique": "e89f798e4af0"
},
"checkProductSku": true
},
{
"cart_id": 735,
"uid": 7211,
"mer_id": 56,
"product_type": 0,
"product_id": 200,
"product_attr_unique": "e89f799e4af0",
"cart_num": 2,
"create_time": "2020-06-01 14:54:30",
"is_pay": 0,
"is_del": 0,
"is_new": 0,
"is_fail": 0,
"product": {
"product_id": 200,
"store_name": "三体",
"is_show": 1,
"status": 1,
"is_del": 0,
"unit_name": "个",
"price": "14.00",
"mer_status": 1
},
"productAttr": {
"product_id": 200,
"stock": 100,
"price": "19.00",
"unique": "e89f799e4af0"
},
"checkProductSku": true
}
]
},
{
"mer_id": 55,
"mer_name": "小卖部",
"mer_state": 0,
"mer_avatar": "",
"list": [
{
"cart_id": 734,
"uid": 7211,
"mer_id": 55,
"product_type": 0,
"product_id": 201,
"product_attr_unique": "ebe6053f2650",
"cart_num": 1,
"create_time": "2020-06-01 14:54:22",
"is_pay": 0,
"is_del": 0,
"is_new": 0,
"is_fail": 0,
"product": {
"product_id": 201,
"store_name": "儿童节礼物",
"is_show": 1,
"status": 1,
"is_del": 0,
"unit_name": "套",
"price": "10.00",
"mer_status": 1
},
"productAttr": {
"product_id": 201,
"stock": 100,
"price": "10.00",
"unique": "ebe6053f2650"
},
"checkProductSku": true
},
{
"cart_id": 737,
"uid": 7211,
"mer_id": 55,
"product_type": 0,
"product_id": 201,
"product_attr_unique": "8abd04b56d30",
"cart_num": 1,
"create_time": "2020-06-01 15:25:17",
"is_pay": 0,
"is_del": 0,
"is_new": 0,
"is_fail": 0,
"product": {
"product_id": 201,
"store_name": "儿童节礼物",
"is_show": 1,
"status": 1,
"is_del": 0,
"unit_name": "套",
"price": "10.00",
"mer_status": 1
},
"productAttr": {
"product_id": 201,
"stock": 100,
"price": "10.00",
"unique": "8abd04b56d30"
},
"checkProductSku": true
},
{
"cart_id": 738,
"uid": 7211,
"mer_id": 55,
"product_type": 0,
"product_id": 201,
"product_attr_unique": "f5e20e2d0100",
"cart_num": 1,
"create_time": "2020-06-01 15:32:41",
"is_pay": 0,
"is_del": 0,
"is_new": 0,
"is_fail": 0,
"product": {
"product_id": 201,
"store_name": "儿童节礼物",
"is_show": 1,
"status": 1,
"is_del": 0,
"unit_name": "套",
"price": "10.00",
"mer_status": 1
},
"productAttr": {
"product_id": 201,
"stock": 100,
"price": "10.00",
"unique": "f5e20e2d0100"
},
"checkProductSku": true
}
]
}
],
"fail": [
{
"cart_id": 736,
"uid": 7211,
"mer_id": 56,
"product_type": 0,
"product_id": 201,
"product_attr_unique": "46eae91e9030",
"cart_num": 1,
"create_time": "2020-06-01 14:54:31",
"is_pay": 0,
"is_del": 0,
"is_new": 0,
"is_fail": 1,
"product": {
"product_id": 201,
"store_name": "儿童节礼物",
"is_show": 1,
"status": 1,
"is_del": 0,
"unit_name": "套",
"price": "10.00",
"mer_status": 1
},
"productAttr": null,
"merchant": {
"mer_id": 56,
"mer_name": "小红红小卖部",
"mer_state": 0,
"mer_avatar": ""
},
"checkProductSku": false
}
]
}
}
请求参数
示例代码
返回响应
{
"status": 0,
"message": "string",
"data": {
"list": [
{
"mer_id": 0,
"mer_name": "string",
"mer_state": 0,
"mer_avatar": "string",
"hasCoupon": 0,
"list": [
{
"cart_id": 0,
"uid": 0,
"mer_id": 0,
"product_type": 0,
"product_id": 0,
"product_attr_unique": "string",
"cart_num": 0,
"create_time": "string",
"is_pay": 0,
"is_del": 0,
"is_new": 0,
"is_fail": 0,
"product": {
"product_id": 0,
"store_name": "string",
"is_show": 0,
"status": 0,
"is_del": 0,
"unit_name": "string",
"price": "string",
"mer_status": 0
},
"productAttr": {
"product_id": 0,
"stock": 0,
"price": "string",
"unique": "string"
},
"checkProductSku": true
}
]
}
],
"fail": [
{
"cart_id": 0,
"uid": 0,
"mer_id": 0,
"product_type": 0,
"product_id": 0,
"product_attr_unique": "string",
"cart_num": 0,
"create_time": "string",
"is_pay": 0,
"is_del": 0,
"is_new": 0,
"is_fail": 0,
"product": {
"product_id": 0,
"store_name": "string",
"is_show": 0,
"status": 0,
"is_del": 0,
"unit_name": "string",
"price": "string",
"mer_status": 0
},
"productAttr": null,
"merchant": {
"mer_id": 0,
"mer_name": "string",
"mer_state": 0,
"mer_avatar": "string"
},
"checkProductSku": true
}
]
}
}