|
@@ -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 {
|