文档
测试

购物车商品确认订单

POST
http://wz.daoben.tech/api/order/cartPreview

请求参数

参数名
类型
描述
必填
token
string
示例:d6ce12e2-5b5d-444d-915e-bb179fabbe5d
必填
cart_ids
string
示例:2,3
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:success
必填
time
string
示例:1666430377
必填
data
object
数据字典
必填
goods_list
array
数据列表
必填
goods_id
int
示例:23
必填
goods_name
string
示例:MacBook Pro 13寸
必填
goods_subname
object
示例:null
必填
category_id
int
示例:8
必填
thumb
object
示例:null
必填
spec_type
string
示例:20
必填
deduct_stock_type
string
示例:20
必填
sales_initial
int
示例:0
必填
sales_actual
int
示例:12
必填
goods_sort
int
示例:23
必填
delivery_id
int
示例:23
必填
goods_status
string
示例:10
必填
is_delete
string
示例:0
必填
createtime
int
示例:1541403061
必填
updatetime
int
示例:1543319289
必填
deletetime
object
示例:null
必填
goods_price
string
示例:10.00
必填
total_num
int
示例:1
必填
total_price
string
示例:10.00
必填
cart_id
int
示例:2
必填
goods_sku
object
数据字典
必填
goods_spec_id
int
示例:66
必填
goods_id
int
示例:23
必填
goods_no
string
示例:mac_0001
必填
goods_price
string
示例:10.00
必填
line_price
string
示例:0.00
必填
stock_num
int
示例:5
必填
goods_sales
int
示例:10
必填
goods_weight
float
示例:1.2
必填
spec_sku_id
string
示例:48
必填
spec_image
string
示例:
必填
create_time
int
示例:1541406888
必填
update_time
int
示例:1666429450
必填
goods_attr
string
示例:颜色:天空灰;
必填
spec
array
数据列表
必填
goods_spec_id
int
示例:66
必填
goods_id
int
示例:23
必填
goods_no
string
示例:mac_0001
必填
goods_price
string
示例:10.00
必填
line_price
string
示例:0.00
必填
stock_num
int
示例:5
必填
goods_sales
int
示例:10
必填
goods_weight
float
示例:1.2
必填
spec_sku_id
string
示例:48
必填
spec_image
string
示例:
必填
create_time
int
示例:1541406888
必填
update_time
int
示例:1666429450
必填
goods_attr
string
示例:颜色:天空灰;
必填
specRel
array
数据列表
必填
id
int
示例:48
必填
spec_value
string
示例:天空灰
必填
spec_id
int
示例:20
必填
createtime
int
示例:1541403005
必填
pivot
object
数据字典
必填
id
int
示例:64
必填
goods_id
int
示例:23
必填
spec_id
int
示例:20
必填
spec_value_id
int
示例:48
必填
create_time
int
示例:1541406888
必填
spec
object
数据字典
必填
id
int
示例:20
必填
spec_name
string
示例:颜色
必填
createtime
int
示例:1541401442
必填
order_total_num
int
示例:2
必填
order_total_price
string
示例:20
必填
order_pay_price
string
示例:20
必填