文档
测试

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

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

请求参数

参数名
类型
描述
必填
token
string
示例:bd0f66bb-bfc9-4a9c-86ab-819f03a1231a
必填
goods_id
int
示例:1
必填
goods_sku_id
string
示例:
必填
goods_num
int
示例:2
必填
student
string
示例:{"grade": "初一","class": "二班","name": "学生姓名","gender": 1,"mobile": "17320188294"}
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:获取成功
必填
time
string
示例:1647007425
必填
data
object
数据字典
必填
school_id
object
示例:null
必填
goods_list
array
数据列表
必填
goods_id
int
示例:1
必填
school_id
object
示例:null
必填
goods_name
string
示例:书包书包书包书包
必填
sub_title
string
示例:书包书包书包书包-书包书包书包书包
必填
category_id
int
示例:3
必填
image
string
示例:https://zx.daoben.ltd/uploads/20211206/96899d77ad823289f40922f2da8f432d.jpg
必填
images
string
示例:/uploads/20211206/96899d77ad823289f40922f2da8f432d.jpg,/uploads/20211206/0e7873bc926298e3a35338c43e57ad19.jpg,/uploads/20211206/7406be167a72138dcf4b70eae52f2110.jpg
必填
spec_type
string
示例:10
必填
deduct_stock_type
string
示例:10
必填
content
string
示例:<p>123</p>
必填
view
int
示例:2
必填
sales_initial
int
示例:0
必填
sales_actual
int
示例:0
必填
goods_sort
int
示例:1
必填
goods_type
string
示例:10
必填
is_shove
string
示例:20
必填
is_new
string
示例:20
必填
delivery_id
int
示例:1
必填
goods_status
string
示例:10
必填
is_delete
string
示例:0
必填
deletetime
object
示例:null
必填
createtime
int
示例:1646996086
必填
updatetime
int
示例:1647007425
必填
spec_rel
array
数据列表
必填
spec
array
数据列表
必填
goods_spec_id
int
示例:1
必填
goods_id
int
示例:1
必填
school_id
int
示例:0
必填
goods_no
string
示例:1233123
必填
goods_price
string
示例:0.00
必填
line_price
string
示例:99999.00
必填
stock_num
int
示例:100
必填
goods_sales
int
示例:0
必填
goods_weight
int
示例:1
必填
spec_sku_id
string
示例:
必填
spec_image
string
示例:
必填
create_time
int
示例:1646996086
必填
update_time
int
示例:1646996086
必填
goods_attr
string
示例:
必填
show_error
int
示例:0
必填
goods_sku
object
数据字典
必填
goods_spec_id
int
示例:1
必填
goods_id
int
示例:1
必填
school_id
int
示例:0
必填
goods_no
string
示例:1233123
必填
goods_price
string
示例:0.00
必填
line_price
string
示例:99999.00
必填
stock_num
int
示例:100
必填
goods_sales
int
示例:0
必填
goods_weight
int
示例:1
必填
spec_sku_id
string
示例:
必填
spec_image
string
示例:
必填
create_time
int
示例:1646996086
必填
update_time
int
示例:1646996086
必填
goods_attr
string
示例:
必填
goods_price
string
示例:0.00
必填
total_num
string
示例:2
必填
total_price
string
示例:0.00
必填
category
object
数据字典
必填
id
int
示例:3
必填
pid
int
示例:0
必填
name
string
示例:书包
必填
image
string
示例:/uploads/20211110/da7f2888a326c23ef7951159a36e6b9f.jpg
必填
weigh
int
示例:3
必填
createtime
int
示例:1541402921
必填
updatetime
int
示例:1636510419
必填
goods_sales
int
示例:0
必填
order_total_num
string
示例:2
必填
order_total_price
string
示例:0.00
必填
order_pay_price
string
示例:0.00
必填
address
object
示例:null
必填
has_error
boolean
示例:false
必填
error_msg
object
示例:null
必填
student
string
示例:
必填