xyxie 8 months ago
parent
commit
5ef4e104ac
2 changed files with 2 additions and 3 deletions
  1. 1 1
      services/task.go
  2. 1 2
      services/wx_template_msg.go

+ 1 - 1
services/task.go

@@ -51,7 +51,7 @@ func Task() {
 		releaseTask()
 	} else {
 		//问答社区定时发送模版消息给研究员
-		notifyNeedAnswerQuestionToResearch := task.NewTask("notifyNeedAnswerQuestionToResearch", "0 50 15 * * *", NotifyNeedAnswerQuestionToResearch)
+		notifyNeedAnswerQuestionToResearch := task.NewTask("notifyNeedAnswerQuestionToResearch", "0 30 16 * * *", NotifyNeedAnswerQuestionToResearch)
 		task.AddTask("问答社区定时发送模版消息给研究员", notifyNeedAnswerQuestionToResearch)
 	}
 	//每日定时合同处理

+ 1 - 2
services/wx_template_msg.go

@@ -324,7 +324,7 @@ func SendYbQuestionToResearcher(questionId, adminId int, openid, questionTitle,
 	//sendMap := make(map[string]interface{})
 	//sendData := make(map[string]interface{})
 
-	first := "您好,有新的提问待回复"
+	first := time.Now().Format(utils.FormatDate) + ": 您好,有新的提问待回复"
 	keyword1 := questionTitle
 	keyword2 := "待回复"
 	if remark == "" {
@@ -358,7 +358,6 @@ func SendYbQuestionToResearcher(questionId, adminId int, openid, questionTitle,
 	sendInfo.Resource = wxAppPath
 	sendInfo.SendType = utils.TEMPLATE_MSG_YB_COMMUNITY_QUESTION //研报问答社区
 	sendInfo.OpenIdArr = openIdArr
-	sendInfo.Date = time.Now().Format(utils.FormatDate)
 
 	err = SendTemplateMsgV2(sendInfo)