This commit is contained in:
lwl0608 2023-12-29 17:28:03 +08:00
parent dfe353abe5
commit 595fc69ea1
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ func (c *AlipayClient) ParseNotify(req *http.Request) (notify gopay.BodyMap, err
return
}
// 验签
ok, err := alipay.VerifySign("", notifyTmp)
ok, err := alipay.VerifySign("MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAngPAA49Gqy81CuQd0eW6mzpF5vEwXtHSOl6Xn8Zx3jcpLBBYULlkxbUAOedJRo/1TMjUAtEfoC+lSv+UnYKJ88TMfGwvv9ZSFq5d0PBfiS7AFHDYegvlsw8O5uWEqxvd+tX9/ov4D1QuBkU88fdai3ZNckhmb/xqUlb+PZParQ/N4EQm8SauRWNUAPN1m+cZCaDMJfkpSrxSzcSCMz0IfQ7wxft9hU7FUIJt7F9ZbAK0wOMqe2OEhtwPJpDmp4nWF9SolGsDAVmg4GYtQjKUPmW298NAtLcQnmfHpOSXlMNhGBydGsDJxROvrzw5tSzSdA6HZL7Mxm5i710EtnjH1QIDAQAB", notifyTmp)
if err != nil {
logger.Error("VerifySign fail, bm: %v, err: %v", util.ToJson(notifyTmp), err)
return