Skip to content

Commit 2d5d388

Browse files
committed
mall + pay:
1. 重构支付回调的逻辑,将回调解析改成 PayOrderRespDTO,为后续轮询做铺垫 2. 调整退款单的表结构 3. 调整退款调用的实现
1 parent 43a7a77 commit 2d5d388

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/api/pay/channel.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ export function deleteChannel(id) {
2828
}
2929

3030
// 获得支付渠道
31-
export function getChannel(appId,code) {
31+
export function getChannel(appId, code) {
3232
return request({
33-
url: '/pay/channel/get-channel',
33+
url: '/pay/channel/get',
34+
method: 'get',
3435
params:{
35-
appId:appId,
36-
code:code
36+
appId,
37+
code
3738
},
38-
method: 'get'
3939
})
4040
}
4141

0 commit comments

Comments
 (0)