文档
测试

⌚ 购物车列表

GET
http://{{url}}/api/order/get_cart

请求头

参数名
类型
描述
必填
token
string
示例:cb026345-2f0e-41a4-b782-9431fe5fbb2c
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:ok
必填
time
string
示例:1639012931
必填
data
object
数据字典
必填
total
int
示例:1
必填
per_page
int
示例:15
必填
current_page
int
示例:1
必填
last_page
int
示例:1
必填
data
array
数据列表
必填
id
int
示例:1
必填
user_id
int
示例:2
必填
goods_id
int
示例:29
必填
spec_item_key
string
示例:31_33
必填
attr
string
示例:{"name":"\u5546\u54c12","thumb":"\/uploads\/20211204\/e3bd3858dee6f546be575e1232ac4a8d.jpg"}
必填
num
int
示例:2
必填
price
string
示例:10.00
必填
total_money
string
示例:20.00
必填
createtime
int
示例:1639012677
必填
updatetime
int
示例:1639012738
必填
sale_status
int
0=正常,1=下架,2=售罄,3=库存不足
必填