文档
测试

查询在购物车里选中的商品数量

GET
http://localhost:8888/rlg/cart/selectchecked

响应参数

参数名
类型
描述
必填
code
Integer
接口请求状态码
必填
message
String
接口请求返回信息
可选
data
String
接口请求返回数据
可选

成功示例

{ "code": 200, "data": { "records": [ { "id": 148, "userId": 45, "productId": 10000, "quantity": 10, "checked": 1, "mainImage": "https://img.yzcdn.cn/public_files/2017/10/24/e5a5a02309a41f9f5def56684808d9ae.jpeg", "subtitle": "最好吃的神奇的苹果", "price": 1, "stock": 100 }, { "id": 149, "userId": 45, "productId": 10003, "quantity": 10, "checked": 1, "mainImage": "3", "subtitle": "3", "price": 3, "stock": 100 }, { "id": 150, "userId": 45, "productId": 10004, "quantity": 10, "checked": 1, "mainImage": "4", "subtitle": "4", "price": 4, "stock": 10 } ], "total": 0, "size": 5, "current": 1, "orders": [], "optimizeCountSql": true, "hitCount": false, "countId": null, "maxLimit": null, "searchCount": true, "pages": 0 } }