Browse Source

fix:更换id

zqbao 10 months ago
parent
commit
ed250193c1
1 changed files with 2 additions and 2 deletions
  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 {