文档
测试

创建订单

GET
/api/v1/pay

请求头

参数名
类型
描述
必填
Authorization:bearer
string
token值填入
必填

请求参数

参数名
类型
描述
必填
method
int
1是一天会员 2是一个月会员 3是半年会员 4是一年会员
必填
type
string
alipayh5是支付宝 wxpayh5是微信
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
message
string
示例:创建成功
必填
url
string
示例:http://pay.shunfupays.com/pay/payIndex?mchid=90032&mchno=20200606232835320&tradetype=alipayh5&totalfee=100&descrip=会员充值&attach=1&clientip=127.0.0.1&notifyurl=http://localhost/pay/notify&returnurl=http://localhost/pay/notify&sign=800a725a1153f78f91cb11d9058004d8
必填