获取购物车列表
GET
http://msbox.daoben.tech/api/goods/getCartGoodsList?token=1
请求头
参数名
类型
描述
必填
A-Token
string
示例:
可选
access_token
可选
请求参数
参数名
类型
描述
必填
token
int
示例:1 用户id
必填
响应参数
参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:获取成功
必填
cart_id
int
示例:950 购物车id
必填
user_id
int
示例:1 用户id
必填
goods_id
int
示例:21 商品id
必填
goods_name
string
示例:小米Mix3 商品名称
必填
goods_price
string
示例:3299.00 商品价格
必填
goods_number
int
示例:1 数量
必填
goods_attr
string
示例:40_42 属性值
必填
attr_name
string
示例:颜色:黑色; 版本:6+128 属性名称
必填
shop_id
int
示例:102 店铺id
必填
title_pic
string
示例:/uploads/20200529/94e59ba8a19aac0d714c3cdc4e7b7104.jpg 标题图片
必填
cart_id
int
示例:948
必填
user_id
int
示例:1
必填
goods_id
int
示例:1
必填
goods_name
string
示例:铅笔
必填
market_price
string
示例:3.00
必填
goods_price
string
示例:2.00
必填
goods_number
int
示例:1
必填
goods_attr
string
示例:50_52
必填
attr_name
string
示例:颜色:黑色; 长度:18cm
必填
attr_price
string
示例:2.00
必填
shop_id
int
示例:1
必填
add_time
string
示例:1590996314
必填
rebate
object
示例:null
必填
title_pic
string
示例:/uploads/20200529/94e59ba8a19aac0d714c3cdc4e7b7104.jpg
必填
delivery_id
int
示例:22
必填
shop
object
示例:null
必填