From 78ba08bcffe5135a3b69d58be84fddf781288fcb Mon Sep 17 00:00:00 2001 From: wolter <11@gmail> Date: Tue, 11 Aug 2026 15:58:02 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E9=82=AE=E5=82=A8=E6=94=AF=E4=BB=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/third/paymentService/psbc/types.go | 4 ++-- app/third/paymentService/psbc_service.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/third/paymentService/psbc/types.go b/app/third/paymentService/psbc/types.go index 5eb1ecd..e9d8136 100644 --- a/app/third/paymentService/psbc/types.go +++ b/app/third/paymentService/psbc/types.go @@ -14,8 +14,8 @@ type Config struct { Pubkey string BankKey string Sha string - ReturnUrl string - SuccessUrl string + ReturnUrl string // 支付返回地址 + SuccessUrl string // 支付成功地址 NotifyUrl string ShowTitleBar string LoginHost string diff --git a/app/third/paymentService/psbc_service.go b/app/third/paymentService/psbc_service.go index 4dd929b..82c2879 100644 --- a/app/third/paymentService/psbc_service.go +++ b/app/third/paymentService/psbc_service.go @@ -74,7 +74,7 @@ func PsbcPayInfo(c context.Context, payOrderRequest PayOrderRequest) (string, er BackUrl: payOrderRequest.ReturnUrl, } - resp, err := psbcClient.CreateHandCodePayParams(req) + resp, err := psbcClient.CreatePaymentLinkWithBackUrl(req) if err != nil { logger.Error(c, "PsbcPayInfo 发生错误", fmt.Sprintf("错误信息:%s", err.Error())) return "", err