Browse Source

确保数据不会遗漏

xyxie 9 months ago
parent
commit
f2367cb5a2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      services/trade_guangzhou.go

+ 1 - 1
services/trade_guangzhou.go

@@ -141,7 +141,7 @@ func SyncFromGuangzhouTradeData() (err error) {
 	if err != nil || maxDate.IsZero() {
 		startDate = time.Now().AddDate(0, 0, -1).Format(utils.FormatDate) + " 00:00:00"
 	} else {
-		startDate = maxDate.AddDate(0, 0, 1).Format(utils.FormatDate) + " 00:00:00"
+		startDate = maxDate.Format(utils.FormatDate) + " 00:00:00"
 	}
 
 	method := `index/data/list_page`