Roc 7 months ago
parent
commit
b957458df3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      controllers/user/user_controller.go

+ 1 - 1
controllers/user/user_controller.go

@@ -474,9 +474,9 @@ type BindGzhReq struct {
 // @Success 200 {object} controllers.BaseResponse
 // @router /wx/notify [get,post]
 func (u *UserController) Notify() {
+	logger.Info("wx notify")
 	echostr := u.GetString("echostr")
 	method := u.Ctx.Input.Method()
-	logger.Info("wx notify")
 	if method == "POST" {
 		body := u.Ctx.Input.RequestBody
 		item := new(Notify)