wechatNotify

This commit is contained in:
李子铭 2025-03-17 14:13:24 +08:00
parent 323691d061
commit 17ba4bc361
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ func NewHTTPServer(
return ctx.String(http2.StatusOK, "pong")
})
r.POST("wechatNotify", voucherService.WechatNotify)
r.POST("/wechatNotify", voucherService.WechatNotify)
cmb := r.Group("/cmb")

View File

@ -15,7 +15,7 @@ func (v *VoucherService) WechatNotify(ctx http.Context) error {
return err
}
log.Warnf("bodyBytes: %s", bodyBytes)
log.Warnf("微信回调通知bodyBytes: %s", bodyBytes)
return ctx.JSON(200, "ok")
}