Roc 1 day ago
parent
commit
809b9860cb
1 changed files with 2 additions and 1 deletions
  1. 2 1
      controllers/wechat.go

+ 2 - 1
controllers/wechat.go

@@ -481,8 +481,9 @@ func (this *WechatCommonController) Notify() {
 				break
 			default:
 				utils.FileLog.Info("wechat notify event:" + item.Event)
+				returnResult = xmlTpl
 			}
-			this.Ctx.WriteString(xmlTpl)
+			this.Ctx.WriteString(returnResult)
 		} else if item.MsgType == "text" {
 			textXmlTpl := `<xml>
 						  <ToUserName><![CDATA[%s]]></ToUserName>