文档
测试

购物车商品确认订单

POST
http://ct.daoben.ltd/api/orderct/cartBuyNow

请求参数

参数名
类型
描述
必填
token
string
示例:0f62262d-edd1-4996-8439-8743fe531bcd
必填
cart_ids
string
示例:
必填
spicy_goods
string
示例:[{"goods_id":90,"goods_price":10.5}]
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:success
必填
time
string
示例:1653647394
必填
data
object
数据字典
必填
data
object
数据字典
必填
goods_list
array
数据列表
必填
goodList
array
数据列表
必填
goods_id
int
示例:98
必填
mch_id
int
示例:10
必填
genus
string
示例:ct
必填
goods_name
string
示例:少女心独角兽粉红电动文具套装
必填
category_id
int
示例:33
必填
image
string
示例:/assets/img/qrcode.png
必填
images
object
示例:null
必填
spec_type
string
示例:20
必填
deduct_stock_type
string
示例:10
必填
genus_type
string
示例:morning
必填
content
object
示例:null
必填
sales_initial
int
示例:0
必填
sales_actual
int
示例:0
必填
views_initial
int
示例:0
必填
views_actual
int
示例:0
必填
goods_sort
int
示例:98
必填
is_shove
string
示例:20
必填
is_hot
string
示例:20
必填
delivery_id
int
示例:0
必填
goods_type
int
示例:1
必填
goods_status
string
示例:10
必填
deletetime
object
示例:null
必填
createtime
int
示例:1653635119
必填
updatetime
int
示例:1653635119
必填
goods_sku_id
string
示例:6
必填
goods_sku
object
数据字典
必填
goods_spec_id
int
示例:971
必填
goods_id
int
示例:98
必填
goods_no
string
示例:
必填
title
string
示例:100只
必填
goods_price
string
示例:2.00
必填
goods_out_price
string
示例:3.00
必填
line_price
string
示例:4.00
必填
stock_num
int
示例:99999
必填
goods_sales
int
示例:0
必填
goods_weight
int
示例:0
必填
spec_sku_id
string
示例:6
必填
spec_status
string
示例:10
必填
spec_image
string
示例:
必填
create_time
int
示例:1653635119
必填
update_time
int
示例:1653635119
必填
goods_attr
string
示例:价格:100只;
必填
img_show
string
示例:
必填
goods_price
string
示例:2.00
必填
goods_out_price
string
示例:3.00
必填
total_num
string
示例:1
必填
total_price
string
示例:2.00
必填
total_out_price
string
示例:3.00
必填
goods_total_weight
string
示例:0
必填
cart_id
string
示例:98_6
必填
category
object
数据字典
必填
id
int
示例:33
必填
pid
int
示例:0
必填
genus
string
示例:ct
必填
name
string
示例:大盘鸡米饭
必填
image
string
示例:/uploads/20220408/cf4c91fa8bf704ba080b19d80b9c1bc1.jpeg
必填
status
string
示例:normal
必填
weigh
int
示例:34
必填
createtime
int
示例:1652255870
必填
updatetime
int
示例:1653377120
必填
spec
array
数据列表
必填
goods_spec_id
int
示例:971
必填
goods_id
int
示例:98
必填
goods_no
string
示例:
必填
title
string
示例:100只
必填
goods_price
string
示例:2.00
必填
goods_out_price
string
示例:3.00
必填
line_price
string
示例:4.00
必填
stock_num
int
示例:99999
必填
goods_sales
int
示例:0
必填
goods_weight
int
示例:0
必填
spec_sku_id
string
示例:6
必填
spec_status
string
示例:10
必填
spec_image
string
示例:
必填
create_time
int
示例:1653635119
必填
update_time
int
示例:1653635119
必填
goods_attr
string
示例:价格:100只;
必填
img_show
string
示例:
必填
spec_rel
array
数据列表
必填
id
int
示例:6
必填
spec_value
string
示例:100只
必填
spec_id
int
示例:2
必填
createtime
int
示例:1651200763
必填
spec
object
数据字典
必填
id
int
示例:2
必填
spec_name
string
示例:价格
必填
createtime
int
示例:1651200744
必填
pivot
object
数据字典
必填
id
int
示例:724
必填
goods_id
int
示例:98
必填
spec_id
int
示例:4
必填
spec_value_id
int
示例:6
必填
create_time
int
示例:1653635119
必填
specRel
array
数据列表
必填
id
int
示例:6
必填
spec_value
string
示例:100只
必填
spec_id
int
示例:2
必填
createtime
int
示例:1651200763
必填
pivot
object
数据字典
必填
id
int
示例:724
必填
goods_id
int
示例:98
必填
spec_id
int
示例:4
必填
spec_value_id
int
示例:6
必填
create_time
int
示例:1653635119
必填
spec
object
数据字典
必填
id
int
示例:2
必填
spec_name
string
示例:价格
必填
createtime
int
示例:1651200744
必填
GoodViews
int
示例:0
必填
goodsSales
int
示例:0
必填
mchName
string
示例:一碗面
必填
minSpecPrice
object
数据字典
必填
goods_price
string
示例:2.00
必填
goods_out_price
string
示例:3.00
必填
line_price
string
示例:4.00
必填
mchName
string
示例:一碗面
必填
mch_total_price
string
示例:2.00
必填
mch_total_out_price
string
示例:3.00
必填
mch_total_num
string
示例:1
必填
order_total_num
int
示例:4
必填
order_total_price
string
示例:28.5
必填
order_out_total_price
string
示例:29.5
必填
order_pay_price
string
示例:28.5
必填
express_price
int
示例:0
必填
express_out_price
int
示例:0
必填
coupon_list
array
数据列表
必填
coupon_out_list
array
数据列表
必填
has_error
boolean
示例:false
必填
error_msg
string
示例:
必填
defaultAddress
object
数据字典
必填
region
string
示例:河南省/郑州市/中原区
必填
address
string
示例:大学科技园(东区)18号楼B座2楼智慧餐厅
必填
delivery_price
string
示例:1
必填