xyxie 3 months ago
parent
commit
4b9e1b8345
1 changed files with 0 additions and 4 deletions
  1. 0 4
      services/task.go

+ 0 - 4
services/task.go

@@ -49,10 +49,6 @@ func Task() {
 	//如果是生产环境,才需要走这些任务
 	if utils.RunMode == "release" {
 		releaseTask()
-	} else {
-		//问答社区定时发送模版消息给研究员
-		notifyNeedAnswerQuestionToResearch := task.NewTask("notifyNeedAnswerQuestionToResearch", "0 30 16 * * *", NotifyNeedAnswerQuestionToResearch)
-		task.AddTask("问答社区定时发送模版消息给研究员", notifyNeedAnswerQuestionToResearch)
 	}
 	//每日定时合同处理
 	handleCompanyContract := task.NewTask("handleCompanyContract", "0 1 2 * * *", company_contract.HandleCompanyContract)