购物车商品货物勾选状态

简要描述
  • 购物车商品货物勾选状态
请求URL
  • http://101.34.87.143:8083/wx/cart/checked
请求方式
  • POST
请求示例
 {
  "productIds": [
    71
  ],
  "isChecked": 0
}
参数
参数 类型 描述
productIds object
isChecked number
返回示例
 {
  "errno": 0,
  "data": {
    "cartTotal": {
      "goodsCount": 2,
      "checkedGoodsCount": 2,
      "goodsAmount": 158,
      "checkedGoodsAmount": 158
    },
    "cartList": [
      {
        "id": 161,
        "userId": 1,
        "goodsId": 1057036,
        "goodsSn": "1057036",
        "goodsName": "日式纯色水洗亚麻抱枕",
        "productId": 71,
        "price": 79,
        "number": 2,
        "specifications": [
          "标准"
        ],
        "checked": true,
        "picUrl": "http://yanxuan.nosdn.127.net/8a9ee5ba08929cc9e40b973607d2f633.png",
        "addTime": "2021-10-07 20:03:20",
        "updateTime": "2021-10-07 20:33:38",
        "deleted": false
      }
    ]
  },
  "errmsg": "成功"
}
返回参数说明
参数 类型 描述
errno number
- data object
- - cartTotal object
goodsCount number
checkedGoodsCount number
goodsAmount number
checkedGoodsAmount number
- - cartList object
id number
userId number
goodsId number
goodsSn string
goodsName string
productId number
price number
number number
- - - specifications object
0 string
1 string
checked boolean
picUrl string
addTime string
updateTime string
deleted boolean
errmsg string
备注
  • 更多返回错误代码请看首页的错误代码描述