立即购买get
GET
https://mall.bxync.com/index.php?s=%2Fapi%2Forder%2FbuyNow&token=c301237fe8c5c81effd6ffb2c5106c07&goods_id=11&goods_num=1&goods_sku_id=35_39_41
请求参数
参数名
类型
描述
必填
s
string
示例:/api/order/buyNow
必填
token
string
示例:c301237fe8c5c81effd6ffb2c5106c07
必填
goods_id
int
示例:11
必填
goods_num
int
示例:1
必填
goods_sku_id
string
示例:35_39_41
必填
is_deduct
int
是否使用优惠券 大于0 表示使用优惠券
必填
coupon_id
int
订单可用优惠券id
必填
响应参数
参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:success
必填
goods_id
int
示例:11
必填
goods_name
string
示例:测试多规格
必填
selling_point
string
示例:一妻多夫制度开始执行,多找几个帅的
必填
category_id
int
示例:10
必填
spec_type
int
示例:20
必填
deduct_stock_type
int
示例:10
必填
content
string
示例:<p>帅的</p><p><img src="https://mall.bxync.com/uploads/20200623093712f8e421958.jpeg"/></p><p>老的</p><p><img src="https://mall.bxync.com/uploads/202006230937134afb71012.jpeg"/></p><p><br/></p>
必填
goods_sort
int
示例:30
必填
delivery_id
int
示例:10002
必填
is_enable_grade
int
示例:1
必填
is_alone_grade
int
示例:0
必填
alone_grade_equity
object
示例:null
必填
is_ind_dealer
int
示例:0
必填
dealer_money_type
int
示例:10
必填
first_money
string
示例:0.00
必填
second_money
string
示例:0.00
必填
third_money
string
示例:0.00
必填
sale_type
int
示例:10
必填
goods_image
string
示例:https://mall.bxync.com/uploads/20200623093712cb9107651.jpeg
必填
sale_num
int
示例:2
必填
use_num
int
示例:1191
必填
goods_sku_id
int
示例:170
必填
goods_id
int
示例:11
必填
spec_sku_id
string
示例:35_39_41
必填
image_id
int
示例:0
必填
goods_no
string
示例:123456123
必填
goods_price
string
示例:0.01
必填
line_price
string
示例:20000.00
必填
purchase_price
object
示例:null
必填
discount_price
object
示例:null
必填
stock_num
int
示例:48
必填
goods_sales
int
示例:0
必填
goods_weight
int
示例:120
必填
goods_attr
string
示例:身高:165; 肤色:白; 肌肉:无;
必填
image
object
示例:null
必填
is_user_grade
boolean
示例:false
必填
goods_sku_id
int
示例:170
必填
spec_sku_id
string
示例:35_39_41
必填
rows
array
数据列表
必填
id
int
示例:87
必填
goods_id
int
示例:11
必填
image_id
int
示例:17
必填
file_path
string
示例:https://mall.bxync.com/uploads/20200623093712cb9107651.jpeg
必填
file_name
string
示例:20200623093712cb9107651.jpeg
必填
file_url
string
示例:
必填
goods_sku_id
int
示例:170
必填
goods_id
int
示例:11
必填
spec_sku_id
string
示例:35_39_41
必填
image_id
int
示例:0
必填
goods_no
string
示例:123456123
必填
goods_price
string
示例:0.01
必填
line_price
string
示例:20000.00
必填
purchase_price
object
示例:null
必填
discount_price
object
示例:null
必填
stock_num
int
示例:48
必填
goods_sales
int
示例:0
必填
goods_weight
int
示例:120
必填
goods_attr
string
示例:身高:165; 肤色:白; 肌肉:无;
必填
image
object
示例:null
必填
spec_value_id
int
示例:35
必填
spec_value
string
示例:165
必填
spec_id
int
示例:13
必填
wxapp_id
int
示例:10001
必填
create_time
string
示例:2020-06-23 13:54:25
必填
spec_id
int
示例:13
必填
spec_name
string
示例:身高
必填
wxapp_id
int
示例:10001
必填
create_time
string
示例:2020-06-23 13:54:25
必填
delivery_id
int
示例:10002
必填
name
string
示例:test
必填
sort
int
示例:100
必填
rule_id
int
示例:10005
必填
delivery_id
int
示例:10002
必填
region
string
示例:2,1047,1057,1066,1074,1081,1088,1093,1098,1110,1118,1127,1136,1142,1150,1155,1160,821,833,842,853,861,871,880,887,896,906,913,920,927,1169,1183,1190,1196,1209,1222,1234,1245,1253
必填
first
int
示例:0
必填
first_fee
string
示例:0.00
必填
additional
int
示例:2
必填
additional_fee
string
示例:10.00
必填
region_data
array
数据列表
必填
goods_sales
int
示例:2
必填
goods_price
string
示例:0.01
必填
total_num
string
示例:1
必填
total_price
string
示例:0.01
必填
grade_ratio
int
示例:0
必填
grade_goods_price
int
示例:0
必填
grade_total_money
int
示例:0
必填
coupon_money
int
示例:0
必填
total_pay_price
string
示例:0.01
必填
order_total_num
int
示例:1
必填
coupon_list
array
数据列表
必填
has_error
boolean
示例:true
必填
error_msg
string
示例:很抱歉,您的收货地址不在商品 [测试多规格] 的配送范围内
必填
delivery
string
示例:10
必填
address_id
int
示例:30
必填
name
string
示例:接口
必填
phone
string
示例:13665983265
必填
province_id
int
示例:2670
必填
city_id
int
示例:2671
必填
region_id
int
示例:2672
必填
district
string
示例:
必填
detail
string
示例:六角恐龙
必填
user_id
int
示例:24
必填
exist_address
boolean
示例:true
必填
express_price
string
示例:0.00
必填
intra_region
boolean
示例:false
必填
extract_shop
array
数据列表
必填
pay_type
int
示例:20
必填
deliverySetting
array
数据列表
必填
order_total_price
string
示例:0.01
必填
coupon_id
int
示例:0
必填
coupon_money
int
示例:0
必填
order_price
string
示例:0.01
必填
order_pay_price
string
示例:0.01
必填