fix
This commit is contained in:
parent
d06f3e8c9b
commit
1ce92ce589
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue