This commit is contained in:
yangduo 2025-02-20 18:10:38 +08:00
parent de8a2829d2
commit 25b2518694

View File

@ -471,7 +471,7 @@ func (this *MainServiceApi) WxPayNotify(c *gin.Context) {
}
payserial := c.GetHeader("Wechatpay-Serial") //验签的微信支付平台证书序列号/微信支付公钥ID
if mt.Table.Config.GetWxCertificateSn() != payserial {
if mt.Table.Config.GetWxMerchantPublicKeyId() != payserial {
f5.GetSysLog().Alert("!!!!!!!!!!cerificate Serial error")
c.JSON(501, failrspobj)
return