Parcourir la source

Merge branch 'bzq/dev' of eta_mini/eta_mini_api into debug

鲍自强 il y a 1 an
Parent
commit
dbea8717b5
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      controllers/wechat.go

+ 2 - 2
controllers/wechat.go

@@ -59,8 +59,8 @@ func (this *WechatController) Notify() {
 		<Content><![CDATA[%s]]></Content>
 		</xml>`
 		createTime := strconv.FormatInt(time.Now().Unix(), 10)
-		WxId := "gh_5dc508325c6f" // 弘则投研公众号原始id
-		xmlTpl = fmt.Sprintf(xmlTpl, openId, WxId, createTime, contactMsg)
+		// WxId := "gh_5dc508325c6f" // 弘则投研公众号原始id
+		xmlTpl = fmt.Sprintf(xmlTpl, openId, utils.DW_WX_Id, createTime, contactMsg)
 
 		if item.MsgType == "event" {
 			switch item.Event {