文档
测试

订单支付

POST
http://localhost:8080/app/partner/order/pay

请求参数

参数名
类型
描述
必填
user_id
string
用户id 示例:41840909af844632885424fbc20cae79
必填
pay_type
int
支付类型 1:余额 2:支付宝 示例:1
必填
gift_pos_id
string
礼包id  示例:55fca782f55f406d94e2cecb23d0140b
必填
coupon_id
string
优惠券id  示例:
可选
address_id
int
地址id  示例:1
必填
sign
string
签名 示例:05c098783561b6d0ce4d842f3d71cd61
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
errors
object
数据字典
必填
msg
string
示例:操作成功
必填
result
object
数据字典
必填
ali_pay_url
string
支付宝支付跳转地址 示例:
必填
order_info
object
订单信息
必填
order_no
string
示例:202201071757551641549475668
必填
gift_pos_id
string
示例:55fca782f55f406d94e2cecb23d0140b
必填
order_express_time_stamp
int
示例:0
必填
bill_no
string
示例:
必填
order_time
string
示例:2022-01-07 17:57:55
必填
order_name
string
示例:购买机器
必填
user_id_no
string
示例:
必填
gift_title
string
示例:拉卡拉大POS 1台装礼包 升V5
必填
order_status
int
示例:1
必填
coupon_id
string
示例:
必填
order_express_number
string
示例:
必填
user_phone
string
示例:18569557087
必填
pay_type
int
示例:1
必填
order_time_stamp
int
示例:1641549475356
必填
id
string
示例:fd85f86a959043878cf2c03d8c09f39f
必填
order_type
int
示例:1
必填
user_level_id
string
示例:
必填
order_express_name
string
示例:
必填
order_express_time
string
示例:
必填
order_receieve_phone
string
示例:18578229023
必填
receive_time
string
示例:
必填
order_price
int
示例:300
必填
order_desc
string
示例:
必填
order_express_address
string
示例:
必填
order_pay_time
string
示例:2022-01-07 17:57:55
必填
order_receieve_name
string
示例:刘德华
必填
platform_remark
string
示例:
必填
order_score
int
示例:0
必填
deduct_price
int
示例:0
必填
user_id
string
示例:41840909af844632885424fbc20cae79
必填
user_real_name
string
示例:张学友
必填
order_receieve_address
string
示例:湖南省长沙市德思勤城市广场b5栋
必填
third_order_no
string
示例:
必填
order_pay_time_stamp
int
示例:1641549475356
必填
order_express_no
string
示例:
必填

说明 / 示例

{ "code": 1, "errors": { }, "msg": "操作成功", "result": { "ali_pay_url": "", "order_info": { "order_no": "202201071757551641549475668", "gift_pos_id": "55fca782f55f406d94e2cecb23d0140b", "order_express_time_stamp": 0, "bill_no": "", "order_time": "2022-01-07 17:57:55", "order_name": "购买机器", "user_id_no": "", "gift_title": "拉卡拉大POS 1台装礼包 升V5", "order_status": 1, "coupon_id": "", "order_express_number": "", "user_phone": "18569557087", "pay_type": 1, "order_time_stamp": 1641549475356, "id": "fd85f86a959043878cf2c03d8c09f39f", "order_type": 1, "user_level_id": "", "order_express_name": "", "order_express_time": "", "order_receieve_phone": "18578229023", "receive_time": "", "order_price": 300, "order_desc": "", "order_express_address": "", "order_pay_time": "2022-01-07 17:57:55", "order_receieve_name": "刘德华", "platform_remark": "", "order_score": 0, "deduct_price": 0, "user_id": "41840909af844632885424fbc20cae79", "user_real_name": "张学友", "order_receieve_address": "湖南省长沙市德思勤城市广场b5栋", "third_order_no": "", "order_pay_time_stamp": 1641549475356, "order_express_no": "" } } }