立即购买
GET
http://djsh.meiliancheng.cn/index.php?s=/shop/api.pay/buyNow
请求参数
参数名
类型
描述
必填
goods_id
int
示例:12014
必填
goods_num
int
示例:1
必填
goods_sku_id
int
示例:0
必填
shop_id
int
示例:10040
必填
delivery
int
示例:20
必填
响应参数
参数名
类型
描述
必填
type
int
示例:3
必填
goods_id
int
示例:12014
必填
shop_id
int
示例:10020
必填
supplier_id
int
示例:0
必填
type
int
示例:3
必填
goods_name
string
示例:测试课程
必填
selling_point
string
示例:测试课程测试课程测试课程测试课程
必填
use_rule
object
示例:null
必填
category_id
int
示例:10541
必填
spec_type
int
示例:10
必填
deduct_stock_type
int
示例:10
必填
content2
string
示例:
必填
goods_sort
int
示例:100
必填
buy_limit
int
示例:0
必填
least_expend_money
string
示例:0.00
必填
delivery_id
int
示例:0
必填
delivery_type
int
示例:20
必填
is_new_user_enjoy
int
示例:0
必填
is_points_gift
int
示例:1
必填
is_points_discount
int
示例:1
必填
is_enable_balance_price
int
示例:0
必填
is_enable_grade
int
示例:1
必填
is_alone_grade
int
示例:0
必填
10020
string
示例:
必填
10021
string
示例:
必填
10022
string
示例:
必填
10023
string
示例:
必填
10024
string
示例:
必填
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
必填
is_rush
int
示例:0
必填
is_points_exchange
int
示例:0
必填
need_points_num
int
示例:0
必填
need_points_money
string
示例:0.00
必填
is_new_user
int
示例:0
必填
new_need_points_num
int
示例:0
必填
new_need_points_money
string
示例:0.00
必填
video
object
示例:null
必填
is_hot
int
示例:1
必填
use_code
int
示例:0
必填
is_check
int
示例:1
必填
share_buy
int
示例:0
必填
share_num
int
示例:0
必填
view_num
int
示例:149
必填
is_baopin
int
示例:0
必填
is_ziyin
int
示例:0
必填
is_pinpai
int
示例:0
必填
brand_id
int
示例:0
必填
goods_stock
int
示例:7
必填
goods_image
string
示例:http://dijiush.oss-cn-beijing.aliyuncs.com/202009151725453455d7261.jpg
必填
goods_sku_id
int
示例:29175
必填
goods_id
int
示例:12014
必填
spec_sku_id
string
示例:0
必填
image_id
int
示例:0
必填
goods_no
string
示例:
必填
balance_price
string
示例:0.00
必填
goods_price
string
示例:0.01
必填
line_price
string
示例:0.00
必填
real_price
string
示例:0.00
必填
stock_num
int
示例:7
必填
goods_sales
int
示例:0
必填
goods_weight
int
示例:0
必填
goods_attr
string
示例:
必填
image
object
示例:null
必填
goods_multi_spec
object
示例:null
必填
goods_price
string
示例:0.01
必填
total_num
string
示例:1
必填
total_price
string
示例:0.01
必填
total_need_points_num
string
示例:0
必填
total_need_points_money
string
示例:0.00
必填
is_user_grade
boolean
示例:false
必填
grade_ratio
int
示例:0
必填
grade_goods_price
int
示例:0
必填
grade_total_money
int
示例:0
必填
points_money
int
示例:0
必填
points_num
string
示例:0
必填
coupon_money
int
示例:0
必填
virtual_code_money
int
示例:0
必填
total_pay_price
string
示例:0.01
必填
express_price
string
示例:0.00
必填
points_bonus
string
示例:0
必填
goods_sales
int
示例:3
必填
order_total_num
int
示例:1
必填
coupon_list
array
数据列表
必填
has_error
boolean
示例:false
必填
error_msg
object
示例:null
必填
delivery
string
示例:10
必填
address_id
int
示例:12064
必填
name
string
示例:张张
必填
phone
string
示例:17355692110
必填
province_id
int
示例:1046
必填
city_id
int
示例:1047
必填
region_id
int
示例:1048
必填
district
string
示例:
必填
detail
string
示例:发扣扣附近的
必填
longitude
string
示例:
必填
latitude
string
示例:
必填
user_id
int
示例:14784
必填
exist_address
boolean
示例:true
必填
express_price
string
示例:0.00
必填
intra_region
boolean
示例:true
必填
extract_shop
array
数据列表
必填
is_allow_points
boolean
示例:false
必填
is_use_points
int
示例:0
必填
points_money
int
示例:0
必填
points_bonus
int
示例:0
必填
pay_type
int
示例:20
必填
delivery
array
数据列表
必填
points_name
string
示例:红包值
必填
points_describe
string
示例:a) 积分不可兑现、不可转让,仅可在本平台使用;
b) 您在本平台参加特定活动也可使用积分,详细使用规则以具体活动时的规则为准;
c) 积分的数值精确到个位(小数点后全部舍弃,不进行四舍五入)
d) 买家在完成该笔交易(订单状态为“已签收”)后才能得到此笔交易的相应积分,如购买商品参加店铺其他优惠,则优惠的金额部分不享受积分获取;
必填
is_enable
string
示例:0
必填
template_id
string
示例:
必填
template_params
string
示例:
必填
is_enable
string
示例:0
必填
template_id
string
示例:
必填
template_params
string
示例:
必填
deliverySetting
array
数据列表
必填
send_payment_msg
int
示例:0
必填
send_delivery_msg
int
示例:0
必填
send_refund_msg
int
示例:0
必填
order_total_price
string
示例:0.01
必填
coupon_id
int
示例:0
必填
coupon_money
int
示例:0
必填
virtual_code
string
示例:
必填
virtual_code_money
int
示例:0
必填
order_price
string
示例:0.01
必填
order_pay_price
string
示例:0.01
必填
shop_name
string
示例:第玖生活自营商家
必填
code
int
示例:0
必填
msg
object
示例:null
必填