Skip to content

Commit 4e45b5e

Browse files
committed
fix(pay-gateway): 修复 h5 h5jump 支付接口路径错误问题
1 parent 8f09f15 commit 4e45b5e

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.changeset/tiny-turtles-fall.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@ethan-utils/pay-gateway": patch
3+
---
4+
5+
修复 h5 h5jump 支付接口路径错误问题

node-pkgs/pay-gateway/ltzf/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ export async function h5Pay(
476476
}
477477

478478
const response = await ltzfApi.post<LTZF.Response.H5Pay>(
479-
"/api/wxpay/wap",
479+
"/api/wxpay/h5",
480480
urlParams,
481481
{
482482
headers: { "Content-Type": "application/x-www-form-urlencoded" },
@@ -543,7 +543,7 @@ export async function h5JumpPay(
543543
}
544544

545545
const response = await ltzfApi.post<LTZF.Response.H5JumpPay>(
546-
"/api/wxpay/wap",
546+
"/api/wxpay/jump_h5",
547547
urlParams,
548548
{
549549
headers: { "Content-Type": "application/x-www-form-urlencoded" },

0 commit comments

Comments
 (0)