Roc 4 일 전
부모
커밋
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>