Browse Source

修改同步周期

rdluck 4 years ago
parent
commit
f81416fee9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      services/tactics.go

+ 1 - 1
services/tactics.go

@@ -20,7 +20,7 @@ func SyncTacticsList() (err error) {
 	}()
 	fmt.Println("同步数据")
 	indexName := utils.IndexName
-	endDate := time.Now().AddDate(0, 0, -15).Format(utils.FormatDate)
+	endDate := time.Now().AddDate(0, 0, -30).Format(utils.FormatDate)
 	list, err := models.GetTacticsList(endDate)
 	//list, err := models.GetTacticsListAll()
 	if err != nil {