文档
测试
彭国强

获取购物车商品

POST
http://localhost/shopping/getShoppingCart

接口描述

获取购物车商品

请求头

参数名
类型
描述
必填

请求参数

参数名
类型
描述
必填
phone
string
示例:{{phone}}
必填
token
string
示例:{{token}}
必填

响应参数

参数名
类型
描述
必填
msg
string
示例:查询成功
必填
shoppingCart
array
数据列表
必填
addressBool
int
示例:1
必填
firstbuyBool
int
示例:1
必填
goodsId
int
示例:7
必填
id
int
示例:198
必填
isFree
int
示例:0
必填
isSelected
int
示例:0
必填
maxNumber
int
示例:652
必填
minNumber
int
示例:1
必填
name
string
示例:智能管理服务包+体脂秤包
必填
packageId
int
示例:1
必填
picture
string
示例:https://www.365healthy.net/uploadFiles/images/resource/intelligentManagementServicePackage.png
必填
price
int
示例:198
必填
productAttribute
string
示例:月卡
必填
productNumber
int
示例:1
必填
vipState
int
示例:1
必填
state
int
示例:1
必填

响应格式

{ "msg": "查询成功", "shoppingCart": [ { "addressBool": 1, "firstbuyBool": 1, "goodsId": 7, "id": 198, "isFree": 0, "isSelected": 0, "maxNumber": 652, "minNumber": 1, "name": "智能管理服务包+体脂秤包", "packageId": 1, "picture": "https://www.365healthy.net/uploadFiles/images/resource/intelligentManagementServicePackage.png", "price": 198, "productAttribute": "月卡", "productNumber": 1, "vipState": 1 } ], "state": 1 }