获取购物车
POST
{{test}}/api/goods/getCartGoodsList
请求头
参数名
类型
描述
必填
token
string
示例:
必填
请求参数
参数名
类型
描述
必填
goods_type
1严选 2预售 3企业好物 4商城类
必填
响应参数
参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:获取成功
必填
cart_id
int 购物车id
示例:4
必填
user_id
int
示例:1
必填
goods_id
int 商品id
示例:22
必填
goods_name
string 商品名称
示例:Mate 20 华为 HUAWEI
必填
market_price
string
示例:20.00
必填
goods_price
string 商品价格+服务保障价格
示例:5999.00
必填
goods_number
int
示例:1
必填
goods_attr
string
示例:44_47
必填
attr_name
string 属性值
示例:颜色:亮黑色; 内存:8GB+128GB
必填
attr_price
string
示例:5899.00
必填
shop_id
int
示例:0
必填
add_time
string
示例:1672404595
必填
rebate
object
示例:null
必填
buy_type
int
示例:2
必填
service_id
int
示例:1
必填
service_name
string 服务保障
示例:一年保修
必填
title_pic
string
示例:/uploads/20221217/2aa93141189095f9516e681158546ec5.webp
必填
order_type
1普通订单 2服务订单
必填