|
@@ -1408,7 +1408,7 @@ func DoArticleOnenIdWxTemplateMsg(articleId int) (err error) {
|
|
|
first := "您关注的赛道,有新的报告发布/更新,欢迎查看"
|
|
|
keyword1 := "【" + articleInfo.SubCategoryName + "】有报告发布/更新"
|
|
|
mapActivityUserId := make(map[int]string)
|
|
|
- if articleInfo.IsSummary == 1 {
|
|
|
+ if articleInfo.ReportType == 2 {
|
|
|
sliceSubjectId, _ := models.GetSubjectIds(articleId)
|
|
|
if sliceSubjectId != "" {
|
|
|
appointmentList, err := models.GetCygxAppointmentSummaryBySubjectId(sliceSubjectId)
|
|
@@ -1496,7 +1496,8 @@ func DoArticleOnenIdWxTemplateMsg(articleId int) (err error) {
|
|
|
first := "您关注的赛道,有新的报告发布/更新,欢迎查看"
|
|
|
keyword1 := "【" + articleInfo.SubCategoryName + "】有报告发布/更新"
|
|
|
mapActivityUserId := make(map[int]string)
|
|
|
- if articleInfo.IsSummary == 1 {
|
|
|
+ if articleInfo.ReportType == 2 {
|
|
|
+ keyword1 = fmt.Sprint("【", industryName, "】赛道有报告发布/更新")
|
|
|
sliceSubjectId, _ := models.GetSubjectIds(articleId)
|
|
|
if sliceSubjectId != "" {
|
|
|
appointmentList, err := models.GetCygxAppointmentSummaryBySubjectId(sliceSubjectId)
|
|
@@ -1518,8 +1519,8 @@ func DoArticleOnenIdWxTemplateMsg(articleId int) (err error) {
|
|
|
return err
|
|
|
}
|
|
|
for _, item := range openIdLists {
|
|
|
- first := "您预约的调研,有关联的纪要发布/更新了"
|
|
|
- keyword1 := industryName
|
|
|
+ //first := "您预约的调研,有关联的纪要发布/更新了"
|
|
|
+ //keyword1 := industryName
|
|
|
openIditem := new(models.OpenIdList)
|
|
|
openIditem.OpenId = item.OpenId
|
|
|
openIditem.UserId = item.UserId
|