|
@@ -311,6 +311,7 @@ func (c *ReportIceMessageController) IceMsgPush() {
|
|
|
sendClassifyId = reportInfo.ClassifyIdFirst
|
|
|
}
|
|
|
title = reportInfo.Title
|
|
|
+ content = reportInfo.Title
|
|
|
url = reportInfo.DetailPdfUrl
|
|
|
} else if classifyType == 2 {// 推送PPT
|
|
|
if req.PptId <= 0 {
|
|
@@ -329,6 +330,7 @@ func (c *ReportIceMessageController) IceMsgPush() {
|
|
|
}
|
|
|
sendClassifyId = pptInfo.ClassifyId
|
|
|
title = pptInfo.Title
|
|
|
+ content = pptInfo.Title
|
|
|
url = pptInfo.PptxUrl
|
|
|
}
|
|
|
// 获取分类名称
|
|
@@ -387,7 +389,7 @@ func (c *ReportIceMessageController) IceMsgPush() {
|
|
|
// 推送模版消息
|
|
|
sendStatus := 1
|
|
|
// 生成taskId
|
|
|
- taskId := utils.MD5(fmt.Sprintf("%s_%s_%s_%s", req.ReportId, req.PptId, item.AdminId, time.Now().Format("20060102150405")))
|
|
|
+ taskId := utils.MD5(fmt.Sprintf("%d_%d_%d_%s", req.ReportId, req.PptId, item.AdminId, time.Now().Format("20060102150405")))
|
|
|
|
|
|
err = ice_message.PushIceMessage(title, summary, content, item.EmployeeId, taskId, req.ReportId, req.PptId, url, classifyName)
|
|
|
if err != nil {
|