mall + pay:

1、初步完成微信扫码支付,暂时缺少状态的处理
This commit is contained in:
YunaiV
2023-07-08 00:08:05 +08:00
parent 3f33ca2d6b
commit d76bc7aa82
7 changed files with 107 additions and 11 deletions

View File

@ -1,4 +1,4 @@
### /pay/create 提交支付订单
### /pay/create 提交支付订单【alipay_pc】
POST {{appApi}}/pay/order/submit
Content-Type: application/json
Authorization: Bearer {{appToken}}
@ -8,3 +8,31 @@ tenant-id: {{appTenentId}}
"id": 174,
"channelCode": "alipay_pc"
}
### /pay/create 提交支付订单【wx_bar】
POST {{appApi}}/pay/order/submit
Content-Type: application/json
Authorization: Bearer {{appToken}}
tenant-id: {{appTenentId}}
{
"id": 202,
"channelCode": "wx_bar",
"channelExtras": {
"authCode": "132527737910208222"
}
}
### /pay/create 提交支付订单【wx_pub】
POST {{appApi}}/pay/order/submit
Content-Type: application/json
Authorization: Bearer {{appToken}}
tenant-id: {{appTenentId}}
{
"id": 202,
"channelCode": "wx_pub",
"channelExtras": {
"openid": "ockUAwIZ-0OeMZl9ogcZ4ILrGba0"
}
}