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