mall + pay:

1. 重构支付回调的逻辑,将回调解析改成 PayOrderRespDTO,为后续轮询做铺垫
2. 调整退款单的表结构
3. 调整退款调用的实现
This commit is contained in:
YunaiV
2023-07-15 10:35:41 +08:00
parent fbb63ee262
commit 518e89dc4b
46 changed files with 436 additions and 499 deletions

View File

@ -28,14 +28,14 @@ export function deleteChannel(id) {
}
// 获得支付渠道
export function getChannel(appId,code) {
export function getChannel(appId, code) {
return request({
url: '/pay/channel/get-channel',
url: '/pay/channel/get',
method: 'get',
params:{
appId:appId,
code:code
appId,
code
},
method: 'get'
})
}