列表
POST
{{url}}/api/cart/index
请求头
参数名
类型
描述
必填
请求参数
参数名
类型
描述
必填
token
string
token
必填
响应参数
参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:
必填
time
string
示例:1667209100
必填
market_price
string
市场价
必填
sales_price
string
销售价
必填
stock
int
库存
必填
sales
int
销量
必填
image
string
图片
必填
title
string
商品名称
必填
choose
int
是否选中
必填
isset
boolean
是否生效
必填
cart_id
int
购物车id
必填
spec
object
示例:null
可选
number
int
数量
必填
oldPrice
int
旧价格
必填
nowPrice
int
现价格
必填
product_id
string
商品id
必填