Ver Fonte

新增同步海外客户状态

hongze há 1 ano atrás
pai
commit
5bb6ac126b
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      services/task.go

+ 2 - 2
services/task.go

@@ -187,8 +187,8 @@ func Task() {
 	task.AddTask("英文客户最后一次阅读时间", fixEnglishCompanyLastViewTime)
 
 	//海外客户-同步客户状态
-	//fixCompanyOverseasStatus := task.NewTask("fixCompanyOverseasStatus", "0 */5 * * * *", overseas_custom.FixCompanyOverseasStatus)
-	//task.AddTask("同步客户状态", fixCompanyOverseasStatus)
+	fixCompanyOverseasStatus := task.NewTask("fixCompanyOverseasStatus", "0 */5 * * * *", overseas_custom.FixCompanyOverseasStatus)
+	task.AddTask("同步客户状态", fixCompanyOverseasStatus)
 
 	task.StartTask()