Эх сурвалжийг харах

Merge branch 'cygx_12.2' of http://8.136.199.33:3000/hongze/hongze_cygx into debug

xingzai 1 жил өмнө
parent
commit
e105710326

+ 1 - 1
services/minutes_summary.go

@@ -12,7 +12,7 @@ import (
 func MinutesSummaryHistoryUserRmind(user *models.WxUserItem, articleId int) (err error) {
 	defer func() {
 		if err != nil {
-			go utils.SendAlarmMsg("用户搜专项调研操作操作行为,模板消息推送失败"+err.Error(), 2)
+			go utils.SendAlarmMsg(fmt.Sprint("上周纪要汇总用户阅读,给销售发消息提醒,模板消息推送 ,ResearchSummaryHistoryUserRmind"+err.Error(), "userId:", user.UserId, "articleId:", articleId), 2)
 		}
 	}()
 	countUser, err := models.GetUserRemind(user.UserId)

+ 2 - 2
services/product_interior.go

@@ -248,11 +248,11 @@ func GetCygxProductInteriorHistoryListPvMap(productInteriorIs []int) (mapPv map[
 	return
 }
 
-// 用户搜专项调研操作操作行为,模板消息推送
+// 用户产品内测阅读,模板消息推送
 func ProductInteriorHistoryUserRmind(user *models.WxUserItem, productInteriorId int) (err error) {
 	defer func() {
 		if err != nil {
-			go utils.SendAlarmMsg("用户搜专项调研操作操作行为,模板消息推送失败"+err.Error(), 2)
+			go utils.SendAlarmMsg(fmt.Sprint("用户产品内测阅读,模板消息推送,模板消息推送失败 ,ProductInteriorHistoryUserRmind"+err.Error(), "userId:", user.UserId, "productInteriorId:", productInteriorId), 2)
 		}
 	}()
 	countUser, err := models.GetUserRemind(user.UserId)

+ 1 - 1
services/research_summary.go

@@ -12,7 +12,7 @@ import (
 func ResearchSummaryHistoryUserRmind(user *models.WxUserItem, articleId int) (err error) {
 	defer func() {
 		if err != nil {
-			go utils.SendAlarmMsg("用户搜专项调研操作操作行为,模板消息推送失败"+err.Error(), 2)
+			go utils.SendAlarmMsg(fmt.Sprint("本周研究汇总用户阅读操作操作行为,模板消息推送 ,ResearchSummaryHistoryUserRmind"+err.Error(), "userId:", user.UserId, "articleId:", articleId), 2)
 		}
 	}()
 	countUser, err := models.GetUserRemind(user.UserId)