This commit is contained in:
lwl0608 2024-02-12 20:31:18 +04:00
parent d06f3e8c9b
commit 1ce92ce589
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ func (c *AlipayClient) ParseNotify(req *http.Request) (notify gopay.BodyMap, err
logger.Info("Alipay ParseNotify, %v", util.ToJson(notifyTmp)) logger.Info("Alipay ParseNotify, %v", util.ToJson(notifyTmp))
// 验签 // 验签
ok, err := alipay.VerifySignWithCert("/app/wishpal-ironfan/etc/mix/alipaycert/alipayCertPublicKey_RSA2.crt", notifyTmp) ok, err := alipay.VerifySignWithCert("/app/wishpal-ironfan/etc/mix/alipaycert_myts/alipayCertPublicKey_RSA2.crt", notifyTmp)
if !ok { if !ok {
logger.Error("VerifySign fail, not ok, bm: %v", util.ToJson(notifyTmp)) logger.Error("VerifySign fail, not ok, bm: %v", util.ToJson(notifyTmp))
return return