Bladeren bron

Merge branch 'feature/community_research_question' into debug

xyxie 3 maanden geleden
bovenliggende
commit
936612dff3
1 gewijzigde bestanden met toevoegingen van 0 en 4 verwijderingen
  1. 0 4
      services/task.go

+ 0 - 4
services/task.go

@@ -48,10 +48,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)