瀏覽代碼

Merge branch 'cygx_need_wx_msg_5.9' of http://8.136.199.33:3000/hongze/hongze_cygx into debug

xingzai 1 年之前
父節點
當前提交
12e1670ed1
共有 2 個文件被更改,包括 3 次插入1 次删除
  1. 2 1
      services/keyword.go
  2. 1 0
      services/task.go

+ 2 - 1
services/keyword.go

@@ -97,7 +97,8 @@ func SearchKeywordUserRmind(user *models.WxUserItem, keyWord string) (err error)
 			return
 		}
 		first = fmt.Sprint(user.RealName, "--", user.CompanyName, ",有新的互动:搜索")
-		keyword1 = "搜索关键词:" + keyWord
+		keyword1 = first
+		keyword2 = "搜索关键词:" + keyWord
 		openIdArr := make([]string, 0)
 		for _, v := range openIdList {
 			openIdArr = append(openIdArr, v.OpenId)

+ 1 - 0
services/task.go

@@ -49,6 +49,7 @@ func Task() {
 		//会议提醒模板消息推送
 		sendActivityBeginMsg := task.NewTask("sendActivityBeginMsg", "0 */10 6-23 * * *", SendActivityBeginMsg) //会议前60分钟的提醒
 		task.AddTask("sendActivityBeginMsg", sendActivityBeginMsg)
+
 		sendActivityBeginMsgMeeting := task.NewTask("sendActivityBeginMsgMeeting", "0 */5 6-23 * * *", SendActivityBeginMsgMeeting) //会议前15分钟的提醒
 		task.AddTask("sendActivityBeginMsgMeeting", sendActivityBeginMsgMeeting)