文档
测试

移除购物车某个商品

POST
http://122.51.142.172:8080/rlg/portal/cart/delete_product.do

请求参数

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

响应参数

参数名
类型
描述
必填
status
Integer
状态码
必填
data
T
数据
必填
username
String
登录成功的管理员用户名
必填
msg
String
状态信息
必填

成功的返回示例

{ "status": 200, "data": { "cartProductVOList": [ { "id": 125, "userId": 23, "productId": 10004, "quantity": 20, "productName": "方法是", "productSubtitle": "4", "productMainImage": "4", "productPrice": 4, "productStatus": 1, "productStock": 100, "productTotalPrice": 80, "productChecked": 1, "limitQuantity": "SUCCESS" }, { "id": 129, "userId": 23, "productId": 10005, "quantity": 4, "productName": "版本", "productSubtitle": "5", "productMainImage": "5", "productPrice": 5, "productStatus": 1, "productStock": 50, "productTotalPrice": 20, "productChecked": 1, "limitQuantity": "SUCCESS" } ], "allChecked": true, "cartTotalPrice": 100 } }

失败的返回示例1

{ "status": 100, "msg": "用户未登录" }

失败的描述示例2

{ "status": 4, "msg": "商品不存在" }

失败的返回示例3

{ "status": 3, "msg": "非法参数" }