Roc 1 天之前
父节点
当前提交
809b9860cb
共有 1 个文件被更改,包括 2 次插入1 次删除
  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>