Ver Fonte

修改有色基础数据

hongze há 3 anos atrás
pai
commit
70aa3f0f6e
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      services/data/base_from_smm.go

+ 1 - 1
services/data/base_from_smm.go

@@ -347,7 +347,7 @@ func SyncSmmIndexDataBase() {
 		fmt.Println(err)
 		return
 	}
-	endDate := time.Now().Format(utils.FormatDate)
+	endDate := time.Now().AddDate(utils.DATA_END_DATE_LIMIT,0,0).Format(utils.FormatDate)
 	smmIndexAll, err := data_manage.GetBaseFromSmmIndex()
 	if err != nil {
 		fmt.Println("GetBaseFromSmmIndex Err:" + err.Error())