Sfoglia il codice sorgente

Merge branch 'hotfix/custom_guangzhou_contract' of eta_server/eta_task into master

xyxie 9 mesi fa
parent
commit
7c4b8c447c
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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`