文档
测试

下单接口

POST
order

接口描述

下单调起支付

请求参数

参数名
类型
描述
必填
token
用户唯一标识必须传
必填
type
int
1书画购买 2音频购买 3组合计划
必填
id
int
type 1就是文章id 2就是栏目id 3就是计划id
必填
coupon_id
int
优惠券id 没有就是0
必填
address_id
int
收货地址 只有type=1时候需要
必填

响应参数

参数名
类型
描述
必填
code
number
示例:200
必填
msg
string
示例:成功
必填
data
object
数据字典
必填
appId
string
示例:wxbae42a551878b3f9
必填
timeStamp
string
示例:1582538701
必填
nonceStr
string
示例:obJt4dcrv4kI4SL7
必填
package
string
示例:prepay_id=wx24180501117497f10f39c5511395236300
必填
signType
string
示例:MD5
必填
paySign
string
示例:4C53458C56D6BDC61EA20130E10D8E81
必填