This commit is contained in:
邹宗楠
2022-07-04 15:28:50 +08:00
parent 78dc569b70
commit 05b904919c
2 changed files with 7 additions and 4 deletions

View File

@@ -18,6 +18,7 @@ type WXPayController struct {
}
func (c *WXPayController) Msg() {
globals.SugarLogger.Debug("ceshihuidiaohanhu================", c.Ctx.Input.Method())
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)