diff --git a/app/third/paymentService/ali_service.go b/app/third/paymentService/ali_service.go index 186199e..8829dcb 100644 --- a/app/third/paymentService/ali_service.go +++ b/app/third/paymentService/ali_service.go @@ -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 }