文档
测试

查询在购物车里的产品数量

POST
http://localhost:8889/rlg/cart/query_number_carts

响应参数

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

成功示例

{ "status": 200, "data": { "records": [ { "id": 149, "userId": 35, "productId": 10000, "quantity": 5, "checked": 1, "subtitle": "1", "mainImage": "1", "price": 1.00, "stock": 100 }, { "id": 150, "userId": 35, "productId": 10001, "quantity": 5, "checked": 1, "subtitle": "1", "mainImage": "1", "price": 1.00, "stock": 90 }, { "id": 151, "userId": 35, "productId": 10003, "quantity": 5, "checked": 1, "subtitle": "3", "mainImage": "3", "price": 3.00, "stock": 100 } ], "total": 3, "size": 5, "current": 1, "orders": [], "optimizeCountSql": true, "hitCount": false, "countId": null, "maxLimit": null, "searchCount": true, "pages": 1 } }