|
@@ -368,7 +368,7 @@ func DoArticleOnenIdWxTemplateMsg(articleId int, source int) (err error) {
|
|
services.SendWxMsgWithCygxActivityAppointmentNew(first, keyword1, keyword2, keyword3, keyword4, openIditem, articleId)
|
|
services.SendWxMsgWithCygxActivityAppointmentNew(first, keyword1, keyword2, keyword3, keyword4, openIditem, articleId)
|
|
mapOpenidPushed[openIditem.UserId] = openIditem.OpenId
|
|
mapOpenidPushed[openIditem.UserId] = openIditem.OpenId
|
|
// 研选发类目模板消息
|
|
// 研选发类目模板消息
|
|
- go services.SendWxCategoryMsgWithCygxActivityAppointmentNew("您预约的调研,有新报告发布", "已发布", articleInfo.Title, articleInfo.PublishDate.Format(utils.FormatDateTimeMinute2), openIditem, articleId)
|
|
|
|
|
|
+ go services.SendWxCategoryMsgWithCygxActivityAppointmentNew("您预约的调研,有新报告发布", "已发布", utils.TruncateActivityNameString(articleInfo.Title), articleInfo.PublishDate.Format(utils.FormatDateTimeMinute2), openIditem, articleId)
|
|
}
|
|
}
|
|
|
|
|
|
//如果小助手勾选了对应的权限信息 就做正常推送
|
|
//如果小助手勾选了对应的权限信息 就做正常推送
|
|
@@ -376,7 +376,7 @@ func DoArticleOnenIdWxTemplateMsg(articleId int, source int) (err error) {
|
|
services.SendWxMsgWithCygxActivityAppointmentNew(first, keyword1, keyword2, keyword3, keyword4, openIditem, articleId)
|
|
services.SendWxMsgWithCygxActivityAppointmentNew(first, keyword1, keyword2, keyword3, keyword4, openIditem, articleId)
|
|
mapOpenidPushed[openIditem.UserId] = openIditem.OpenId
|
|
mapOpenidPushed[openIditem.UserId] = openIditem.OpenId
|
|
// 研选发类目模板消息
|
|
// 研选发类目模板消息
|
|
- go services.SendWxCategoryMsgWithCygxActivityAppointmentNew("您预约的调研,有新报告发布", "已发布", articleInfo.Title, articleInfo.PublishDate.Format(utils.FormatDateTimeMinute2), openIditem, articleId)
|
|
|
|
|
|
+ go services.SendWxCategoryMsgWithCygxActivityAppointmentNew("您预约的调研,有新报告发布", "已发布", utils.TruncateActivityNameString(articleInfo.Title), articleInfo.PublishDate.Format(utils.FormatDateTimeMinute2), openIditem, articleId)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|