支付宝回调签名

This commit is contained in:
陈俊宏 2024-08-08 11:24:56 +08:00
parent aa43040aa2
commit c9c7bdbc16
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ func ALiH5PayInfo(c context.Context, payOrderRequest PayOrderRequest) (string, e
// ALiCallBack 支付宝支付回调
func ALiCallBack(notifyReq gopay.BodyMap, aliConfig AliPay) error {
ok, err := alipay.VerifySignWithCert(aliConfig.AlipayPublicCert, notifyReq)
ok, err := alipay.VerifySignWithCert([]byte(aliConfig.AlipayPublicCert), notifyReq)
if !ok || err != nil {
return err
}