购物车全选或取消全选 websocket测试 GET http://localhost:8090/rlg/cart/checkedall 接口描述 购物车商品全选 响应参数 参数名 类型 描述 必填 code integer 接口请求状态码 必填 msg String 状态信息 必填 data String 数据 必填 msg String 接口请求返回系信息 可选 data T 接口请求返回数据 可选 成功的返回示例 { "code": 200, "data": { "records": [ { "id": 131, "userId": 38, "productId": 10003, "quantity": 5, "checked": 0, "subtitle": "3", "mainImage": "3", "price": 3.00, "stock": 100 }, { "id": 151, "userId": 38, "productId": 10000, "quantity": 10, "checked": 0, "subtitle": "最好吃的神奇的苹果", "mainImage": "https://img.yzcdn.cn/public_files/2017/10/24/e5a5a02309a41f9f5def56684808d9ae.jpeg", "price": 1.00, "stock": 100 }, { "id": 152, "userId": 38, "productId": 10001, "quantity": 10, "checked": 0, "subtitle": "1", "mainImage": "1", "price": 1.00, "stock": 90 }, { "id": 153, "userId": 38, "productId": 10002, "quantity": 10, "checked": 0, "subtitle": "2", "mainImage": "2", "price": 2.00, "stock": 90 }, { "id": 154, "userId": 38, "productId": 10004, "quantity": 10, "checked": 0, "subtitle": "4", "mainImage": "4", "price": 4.00, "stock": 10 } ], "total": 5, "size": 5, "current": 1, "orders": [], "optimizeCountSql": true, "hitCount": false, "countId": null, "maxLimit": null, "searchCount": true, "pages": 1 } }
{ "code": 200, "data": { "records": [ { "id": 131, "userId": 38, "productId": 10003, "quantity": 5, "checked": 0, "subtitle": "3", "mainImage": "3", "price": 3.00, "stock": 100 }, { "id": 151, "userId": 38, "productId": 10000, "quantity": 10, "checked": 0, "subtitle": "最好吃的神奇的苹果", "mainImage": "https://img.yzcdn.cn/public_files/2017/10/24/e5a5a02309a41f9f5def56684808d9ae.jpeg", "price": 1.00, "stock": 100 }, { "id": 152, "userId": 38, "productId": 10001, "quantity": 10, "checked": 0, "subtitle": "1", "mainImage": "1", "price": 1.00, "stock": 90 }, { "id": 153, "userId": 38, "productId": 10002, "quantity": 10, "checked": 0, "subtitle": "2", "mainImage": "2", "price": 2.00, "stock": 90 }, { "id": 154, "userId": 38, "productId": 10004, "quantity": 10, "checked": 0, "subtitle": "4", "mainImage": "4", "price": 4.00, "stock": 10 } ], "total": 5, "size": 5, "current": 1, "orders": [], "optimizeCountSql": true, "hitCount": false, "countId": null, "maxLimit": null, "searchCount": true, "pages": 1 } }