文档
测试

购物车List列表

GET
http://localhost:8889/rlg/cart/cart_list

接口描述

获取当前登录用户数据

响应参数

参数名
类型
描述
必填
status
Integer
状态码
必填
msg
String
状态信息
可选
data
String
数据
可选

成功示例

{ "status": 200, "data": { "records": [ { "id": 136, "userId": 35, "productId": 10000, "quantity": 1, "checked": 1, "subtitle": "1", "mainImage": "1", "price": 1.00, "stock": 100 }, { "id": 141, "userId": 35, "productId": 10004, "quantity": 1, "checked": 0, "subtitle": "4", "mainImage": "4", "price": 4.00, "stock": 60 }, { "id": 142, "userId": 35, "productId": 10000, "quantity": 1, "checked": 1, "subtitle": "1", "mainImage": "1", "price": 1.00, "stock": 100 }, { "id": 143, "userId": 35, "productId": 10004, "quantity": 1, "checked": 0, "subtitle": "4", "mainImage": "4", "price": 4.00, "stock": 60 }, { "id": 144, "userId": 35, "productId": 10000, "quantity": 1, "checked": 1, "subtitle": "1", "mainImage": "1", "price": 1.00, "stock": 100 } ], "total": 9, "size": 5, "current": 1, "orders": [], "optimizeCountSql": true, "hitCount": false, "countId": null, "maxLimit": null, "searchCount": true, "pages": 2 } }