From 261ec08fb4db3ef87b95b98d5a7f20b7acc8a46d Mon Sep 17 00:00:00 2001 From: "qiyunfanbo126.com" <815699> Date: Wed, 4 Sep 2024 19:14:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E8=AE=A2=E5=8D=95=E8=BD=AE?= =?UTF-8?q?=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/third/youchu/youchu_api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/third/youchu/youchu_api.go b/app/third/youchu/youchu_api.go index 8a51f17..372774b 100644 --- a/app/third/youchu/youchu_api.go +++ b/app/third/youchu/youchu_api.go @@ -286,7 +286,7 @@ func DecryptResponse(response string, isRequest bool) (Rsponse string) { var MerchantId, PrivateKey, PublicKey string if isRequest { MerchantId = config.GetConf().YouChuCallBack.MerchantId - PrivateKey = config.GetConf().Sm2.PrivateKey + PrivateKey = config.GetConf().YouChuCallBack.PrivateKey PublicKey = config.GetConf().YouChuCallBack.SopPublicKey } else { MerchantId = config.GetConf().YouChu.MerchantId