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