文档
测试

移除购物车某个产品

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

接口描述

移除购物车某个商品

请求参数

参数名
类型
描述
必填
pid
Integer
商品id
必填

响应参数

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

成功示例

{ "status": 200, "data": { "records": [ { "id": 125, "userId": 36, "productId": 10004, "quantity": 25, "checked": 1, "subtitle": "4", "mainImage": "4", "price": 4.00, "stock": 10 }, { "id": 131, "userId": 36, "productId": 10003, "quantity": 40, "checked": 1, "subtitle": "3", "mainImage": "3", "price": 3.00, "stock": 100 }, { "id": 132, "userId": 36, "productId": 10000, "quantity": 25, "checked": 1, "subtitle": "最好吃的神奇的苹果", "mainImage": "https://img.yzcdn.cn/public_files/2017/10/24/e5a5a02309a41f9f5def56684808d9ae.jpeg", "price": 1.00, "stock": 100 }, { "id": 134, "userId": 36, "productId": 10000, "quantity": 25, "checked": 1, "subtitle": "最好吃的神奇的苹果", "mainImage": "https://img.yzcdn.cn/public_files/2017/10/24/e5a5a02309a41f9f5def56684808d9ae.jpeg", "price": 1.00, "stock": 100 }, { "id": 136, "userId": 36, "productId": 10000, "quantity": 25, "checked": 1, "subtitle": "最好吃的神奇的苹果", "mainImage": "https://img.yzcdn.cn/public_files/2017/10/24/e5a5a02309a41f9f5def56684808d9ae.jpeg", "price": 1.00, "stock": 100 } ], "total": 9, "size": 5, "current": 1, "orders": [], "optimizeCountSql": true, "hitCount": false, "countId": null, "maxLimit": null, "searchCount": true, "pages": 2 } }