Browse Source

no message

xingzai 1 year ago
parent
commit
e88e9d35c4
1 changed files with 5 additions and 0 deletions
  1. 5 0
      services/activity.go

+ 5 - 0
services/activity.go

@@ -197,6 +197,11 @@ func SendEmailFileToExpert(cont context.Context) (err error) {
 		msg = "发送附件模版消息失败 Err:" + err.Error()
 		return
 	}
+	var activityIds []int
+	for _, v := range listActivity {
+		activityIds = append(activityIds, v.ActivityId)
+	}
+	go utils.SendAlarmMsg("预约外呼名单,会前1小时自动发送邮件给专家组 监控日志,监控使用无需处理,活动ID:"+fmt.Sprint(activityIds), 2)
 
 	for _, v := range listActivity {
 		time.Sleep(30 * time.Second) //延时30秒,避免邮件发送不成功