zwxi преди 1 година
родител
ревизия
75c06317d7
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      controllers/wechat.go

+ 1 - 1
controllers/wechat.go

@@ -377,7 +377,7 @@ func (this *WechatController) UserInfo() {
 // @Success 200 {object} models.WechatSign
 // @router /notify [get,post]
 func (this *WechatCommonController) Notify() {
-	echostr := this.GetString("echostr")
+	//echostr := this.GetString("echostr")
 	method := this.Ctx.Input.Method()
 	if method == "POST" {
 		body := this.Ctx.Input.RequestBody