文档
测试

购物车信息

POST
app/yxh/getYxhCarInfo

接口描述

购物车信息

请求参数

参数名
类型
描述
必填
carId
number
购物车ID
必填

响应参数

参数名
类型
描述
必填
message
string
示例:购物车信息
必填
status
string
示例:success
必填
data
object
数据字典
必填
addrId
number
收货地址ID 示例:1
可选
postFee
number
邮费(元) 示例:0
可选
carId
number
购物车ID 示例:33
必填
recWay
string
收货方式 示例:1 {0-自提 1-邮寄}
必填
proType
string
邮享惠类型 示例:2 {1-爆款 2-基础款}
必填
buyNum
number
加入购物车数量 示例:1
必填
skuName
string
sku名称 示例:葵王食用油900ml
必填
typeName
string
商品类型 示例:食品
必填
price
number
加入购物车价格 示例:8.1
必填
recPhone
string
收货人手机 示例:18998019057
可选
skuNo
string
示例:ca33784b-3644-4913-bcfb-945a7b54a34e
必填
shopId
number
商铺ID 示例:1
必填
skuImage
string
sku图片 示例:http://192.183.2.228/static//upload/uploadify/2019121/8ff3782e-b22b-48e7-a364-016e531d7cc7_S_360_360.jpg
必填
userId
number
app用户ID 示例:5
必填
skuId
number
示例:7
必填
brand
string
商品品牌 示例:葵王
必填
recAddr
string
收货地址 示例:南城区三元路6号
可选
recName
string
收货人 示例:东需弗首
可选
limitBuyNum
number
限购数量 示例:2
必填
proUnit
string
商品单位 示例:瓶
必填
deptId
number
自提机构
可选
scaleVals
string
规格值
必填
logo
string
商铺LOGO
必填
shopName
string
商铺名称
必填

说明 / 示例

```json { "message": "购物车信息", "status": "success", "data": { "addrId": 1, "postFee": 0.0, "carId": 33, "recWay": "1", "proType": "2", "buyNum": 1, "skuName": "葵王食用油900ml", "typeName": "食品", "price": 8.1, "recPhone": "18998019057", "skuNo": "ca33784b-3644-4913-bcfb-945a7b54a34e", "shopId": 1, "skuImage": "http://192.183.2.228/static//upload/uploadify/2019121/8ff3782e-b22b-48e7-a364-016e531d7cc7_S_360_360.jpg", "userId": 5, "skuId": 7, "brand": "葵王", "recAddr": "南城区三元路6号", "recName": "东需弗首", "limitBuyNum": 2, "proUnit": "瓶", "scaleVals": "1000g,1L", "logo": "http://192.183.2.228/static//upload/uploadify/2019121/0efa64ce-6232-49b3-9af3-f40d7f57ee94_S_100_100.png", "shopName": "东莞市邮政局", } }