文档
测试

获取购物车

POST
http://yxp.ziming.work/api/getCart

请求头

参数名
类型
描述
必填
timestamp
int
示例:1
必填
sign
int
示例:1
必填
token
string
示例:132de55c1f1046e987c07dfc847c6f31
必填

请求参数

参数名
类型
描述
必填
action_type
int
示例:1
必填
mark_type
int
示例:1
必填

响应参数

参数名
类型
描述
必填
code
int
示例:0
必填
response
object
数据字典
必填
data
object
数据字典
必填
cart
array
数据列表
必填
product
array
数据列表
必填
id
int
示例:1
必填
seller_id
int
示例:-1
必填
selected
int
示例:1
必填
action_type
int
示例:1
必填
product_type
int
示例:1
必填
product_sn
string
示例:a9incbyxskcw
必填
product_id
int
示例:1
必填
sku_id
int
示例:2
必填
product_name
string
示例:伊衫琳 加绒加厚牛仔裤女2021秋冬季新款女装高腰弹力修身显瘦铅笔小脚裤保暖紧身百搭长裤子 复古兰加绒
必填
product_pic
string
示例:http://192.168.2.77/upload/admin/images/202112/11/5e928985b20d83b3d4cc5105ac21b070.jpg
必填
market_price
string
示例:280.00
必填
shop_price
string
示例:149.00
必填
shipping_price
int
示例:10
必填
product_num
int
示例:1
必填
spec
string
示例:颜色 白色尺码 S码
必填
spec_ids
string
示例:|1:2|2:9|
必填
asdeleted
boolean
示例:true
必填
send_point
string
示例:0.00
必填
is_api
int
示例:1
必填
tags
array
数据列表
必填
id
int
示例:3
必填
name
string
示例:潮流
必填
bgcolor
string
示例:#850404
必填
product_url
string
示例:/pages/product/product?id=1
必填
count
object
数据字典
必填
totalMoney
int
示例:149
必填
money
int
示例:149
必填
count
int
示例:1
必填
sendPoint
int
示例:0
必填
shipping_price
int
示例:0
必填
proMoney
string
示例:149.00
必填
totalCount
string
示例:1.00
必填
orderMoney
string
示例:149.00
必填
totalSendPoint
string
示例:0.00
必填
totalShippingPrice
string
示例:0.00
必填
apiSign
string
示例:1----
必填
message
string
示例:操作成功
必填