文档
测试

商品页确认订单页(多规格)

POST
https://zx.daoben.ltd/api/order/buyNow

请求参数

参数名
类型
描述
必填
token
string
示例:bd0f66bb-bfc9-4a9c-86ab-819f03a1231a
必填
goods_id
int
示例:2
必填
goods_sku_id
string
示例:1_5
必填
goods_num
int
示例:1
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:获取成功
必填
time
string
示例:1647007432
必填
data
object
数据字典
必填
school_id
object
示例:null
必填
goods_list
array
数据列表
必填
goods_id
int
示例:2
必填
school_id
object
示例:null
必填
goods_name
string
示例:校服
必填
sub_title
string
示例:校服-校服-校服
必填
category_id
int
示例:4
必填
image
string
示例:https://zx.daoben.ltd/uploads/20211206/4784fe6cee78120f75c610296c5d6d96.jpg
必填
images
string
示例:/uploads/20211206/4784fe6cee78120f75c610296c5d6d96.jpg
必填
spec_type
string
示例:20
必填
deduct_stock_type
string
示例:10
必填
content
string
示例:<p>12</p>
必填
view
int
示例:31
必填
sales_initial
int
示例:0
必填
sales_actual
int
示例:0
必填
goods_sort
int
示例:2
必填
goods_type
string
示例:10
必填
is_shove
string
示例:20
必填
is_new
string
示例:20
必填
delivery_id
int
示例:0
必填
goods_status
string
示例:10
必填
is_delete
string
示例:0
必填
deletetime
object
示例:null
必填
createtime
int
示例:1646996149
必填
updatetime
int
示例:1647007432
必填
spec_rel
array
数据列表
必填
id
int
示例:1
必填
spec_value
string
示例:s
必填
spec_id
int
示例:1
必填
createtime
int
示例:1646996119
必填
pivot
object
数据字典
必填
id
int
示例:73
必填
goods_id
int
示例:2
必填
school_id
int
示例:0
必填
spec_id
int
示例:1
必填
spec_value_id
int
示例:1
必填
create_time
int
示例:1647005398
必填
spec
object
数据字典
必填
id
int
示例:1
必填
spec_name
string
示例:尺寸
必填
createtime
int
示例:1646996119
必填
spec
array
数据列表
必填
goods_spec_id
int
示例:130
必填
goods_id
int
示例:2
必填
school_id
int
示例:0
必填
goods_no
string
示例:
必填
goods_price
string
示例:111.00
必填
line_price
string
示例:0.00
必填
stock_num
int
示例:432
必填
goods_sales
int
示例:0
必填
goods_weight
int
示例:0
必填
spec_sku_id
string
示例:1_4
必填
spec_image
string
示例:
必填
create_time
int
示例:1647005398
必填
update_time
int
示例:1647005398
必填
show_error
int
示例:0
必填
goods_sku
object
数据字典
必填
goods_spec_id
int
示例:131
必填
goods_id
int
示例:2
必填
school_id
int
示例:0
必填
goods_no
string
示例:
必填
goods_price
string
示例:111.00
必填
line_price
string
示例:0.00
必填
stock_num
int
示例:432
必填
goods_sales
int
示例:0
必填
goods_weight
int
示例:0
必填
spec_sku_id
string
示例:1_5
必填
spec_image
string
示例:
必填
create_time
int
示例:1647005398
必填
update_time
int
示例:1647005398
必填
goods_attr
string
示例:尺寸:s; 颜色:灰色;
必填
img_show
string
示例:
必填
goods_price
string
示例:111.00
必填
total_num
string
示例:1
必填
total_price
string
示例:111.00
必填
category
object
数据字典
必填
id
int
示例:4
必填
pid
int
示例:0
必填
name
string
示例:校服
必填
image
string
示例:/uploads/20211110/7022f367efbeae6ea0f2461ebf7366be.jpg
必填
weigh
int
示例:4
必填
createtime
int
示例:1540367326
必填
updatetime
int
示例:1637374051
必填
specRel
array
数据列表
必填
id
int
示例:1
必填
spec_value
string
示例:s
必填
spec_id
int
示例:1
必填
createtime
int
示例:1646996119
必填
pivot
object
数据字典
必填
id
int
示例:37
必填
goods_id
int
示例:2
必填
school_id
int
示例:1
必填
spec_id
int
示例:1
必填
spec_value_id
int
示例:1
必填
create_time
int
示例:1646996469
必填
goods_sales
int
示例:0
必填
order_total_num
string
示例:1
必填
order_total_price
string
示例:111.00
必填
order_pay_price
string
示例:111.00
必填
address
object
示例:null
必填
has_error
boolean
示例:false
必填
error_msg
object
示例:null
必填
student
string
示例:
必填