|
@@ -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)
|