rdluck 4 жил өмнө
parent
commit
f81416fee9
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  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 {