文档
测试

商品页确认订单

POST
http://ct.daoben.ltd/api/ordercs/goodsBuyNow

请求参数

参数名
类型
描述
必填
token
string
示例:19636ee6-0f43-44b6-8afe-516ae83b4915
必填
goods_id
int
示例:24
必填
goods_sku_id
string
示例:
必填
goods_num
int
示例:1
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:success
必填
time
string
示例:1650336019
必填
data
object
数据字典
必填
data
object
数据字典
必填
goods_list
array
数据列表
必填
goods_id
int
示例:24
必填
mch_id
int
示例:2
必填
genus
string
示例:ct
必填
goods_name
string
示例:车厘子智利进口
必填
category_id
int
示例:7
必填
image
string
示例:/assets/img/qrcode.png
必填
images
string
示例:https://her-family.oss-cn-qingdao.aliyuncs.com/addons_store_uploads/20181105/a460ffdbd534b10cdf40487189ccb6b7.jpg,https://her-family.oss-cn-qingdao.aliyuncs.com/addons_store_uploads/20181105/c83a0019dfa7a768037e98f02b70efd5.jpg
必填
spec_type
string
示例:10
必填
deduct_stock_type
string
示例:20
必填
genus_type
string
示例:morning
必填
content
string
示例:<p><img src="https://her-family.oss-cn-qingdao.aliyuncs.com/addons_store_uploads/20181105/611619c7dac06511213278a469a1efea.jpg" data-filename="filename" style="width: 603px;"><br></p>
必填
sales_initial
int
示例:0
必填
sales_actual
int
示例:12
必填
goods_sort
int
示例:24
必填
is_shove
string
示例:10
必填
is_hot
string
示例:10
必填
delivery_id
int
示例:24
必填
goods_status
string
示例:20
必填
deletetime
int
示例:1
必填
createtime
int
示例:1541403509
必填
updatetime
int
示例:1650268004
必填
show_error
int
示例:1
必填
goods_sku
object
数据字典
必填
goods_spec_id
int
示例:192
必填
goods_id
int
示例:24
必填
goods_no
string
示例:
必填
title
string
示例:啊啊
必填
goods_price
string
示例:258.00
必填
line_price
string
示例:299.00
必填
stock_num
int
示例:999
必填
goods_sales
int
示例:0
必填
goods_weight
int
示例:0
必填
spec_sku_id
string
示例:
必填
spec_status
string
示例:10
必填
spec_image
string
示例:
必填
create_time
int
示例:1650268004
必填
update_time
int
示例:1650268004
必填
goods_attr
string
示例:
必填
goods_price
string
示例:258.00
必填
total_num
string
示例:1
必填
total_price
string
示例:258.00
必填
category
object
数据字典
必填
id
int
示例:7
必填
pid
int
示例:0
必填
genus
string
示例:ct
必填
name
string
示例:米粉凉皮
必填
image
string
示例:/uploads/20220408/b36adeb7d26c6cd7b3c7f42249f4a990.jpeg
必填
status
string
示例:normal
必填
weigh
int
示例:7
必填
createtime
int
示例:1649212047
必填
updatetime
int
示例:1649403241
必填
spec
array
数据列表
必填
goods_spec_id
int
示例:192
必填
goods_id
int
示例:24
必填
goods_no
string
示例:
必填
title
string
示例:啊啊
必填
goods_price
string
示例:258.00
必填
line_price
string
示例:299.00
必填
stock_num
int
示例:999
必填
goods_sales
int
示例:0
必填
goods_weight
int
示例:0
必填
spec_sku_id
string
示例:
必填
spec_status
string
示例:10
必填
spec_image
string
示例:
必填
create_time
int
示例:1650268004
必填
update_time
int
示例:1650268004
必填
goods_attr
string
示例:
必填
spec_rel
array
数据列表
必填
goodsSales
int
示例:12
必填
mchName
string
示例:article
必填
minSpecPrice
object
数据字典
必填
goods_price
string
示例:258.00
必填
line_price
string
示例:299.00
必填
order_total_num
string
示例:1
必填
order_total_price
string
示例:258.00
必填
order_pay_price
string
示例:258.00
必填
express_price
string
示例:5
必填
has_error
boolean
示例:true
必填
error_msg
string
示例:很抱歉,商品信息不存在或已下架
必填
defaultAddress
object
数据字典
必填
region
string
示例:河南省/郑州市/二七区
必填
address
string
示例:西三环大学科技园
必填
delivery_price
string
示例:5
必填