This commit is contained in:
邹宗楠
2022-07-04 16:28:00 +08:00
parent 11f4265954
commit 821762be29
3 changed files with 32 additions and 17 deletions

View File

@@ -18,7 +18,6 @@ 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)