From 595fc69ea148e618c65b95cd76a40c0e789ed22c Mon Sep 17 00:00:00 2001 From: lwl0608 Date: Fri, 29 Dec 2023 17:28:03 +0800 Subject: [PATCH] sign --- library/payclients/alipaycli/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/payclients/alipaycli/client.go b/library/payclients/alipaycli/client.go index c4984ead..7f5d67bd 100644 --- a/library/payclients/alipaycli/client.go +++ b/library/payclients/alipaycli/client.go @@ -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