文档
测试

预订单-立即购买(完)

POST
http://{{address}}/api/shop/order/checkCreate

请求参数

参数名
类型
描述
必填
token
string
示例:{{token}}
必填
product_id
int
示例:1
必填

响应参数

参数名
类型
描述
必填
status
int
示例:1
必填
msg
string
示例:操作成功
必填
data
object
数据字典
必填
records
array
数据列表
必填
zone
string
示例:1
必填
user_id
int
示例:1
必填
product_id
int
示例:1
必填
index
string
示例:
必填
description
string
示例:
必填
title
string
示例:国药同济堂同晓亮护眼套装2号
必填
price
string
示例:998.00
必填
quantity
int
示例:1
必填
total
int
示例:998
必填
thumb_path
string
示例:jtkj1005:8888/storage/app/uploads/public/61b/588/329/61b588329b32b179671109.jpg
必填
total
int
示例:998
必填
pay_type
object
数据字典
必填
1
string
示例:平台余额
必填
2
string
示例:支付宝
必填
3
string
示例:微信
必填
useraddress
object
数据字典
必填
id
int
示例:2
必填
created_at
string
示例:2021-12-12 03:45:14
必填
updated_at
string
示例:2021-12-12 03:55:35
必填
user_id
int
示例:1
必填
province_code
string
示例:410000
必填
city_code
string
示例:410100
必填
area_code
string
示例:410105
必填
town_code
object
示例:null
必填
is_default
int
示例:1
必填
address
string
示例:100米
必填
consignee
string
示例:测试
必填
phone
string
示例:15100000001
必填
province
object
数据字典
必填
code
string
示例:410000
必填
name
string
示例:河南省
必填
city
object
数据字典
必填
code
string
示例:410100
必填
name
string
示例:郑州市
必填
area
object
数据字典
必填
code
string
示例:410105
必填
name
string
示例:金水区
必填
town
object
示例:null
必填
order_id
int
示例:1
必填