This commit is contained in:
邹宗楠
2022-06-02 10:08:33 +08:00
parent fe35910c98
commit 632b324bbc
2 changed files with 5 additions and 5 deletions

View File

@@ -16,7 +16,7 @@ type TTPayController struct {
web.Controller
}
func (c *TTPayController) Msg() {
func (c *TTPayController) TtMsg() {
if c.Ctx.Input.Method() == http.MethodPost {
msg, callbackResponse := api.WxpayAPI.GetCallbackMsg(c.Ctx.Request)
globals.SugarLogger.Debugf("wxpayapi callback msg:%s, callbackResponse:%s, %t", utils.Format4Output(msg, true), utils.Format4Output(callbackResponse, true), callbackResponse == nil)