rdluck 4 years ago
parent
commit
cd6a4f9c03
1 changed files with 2 additions and 2 deletions
  1. 2 2
      services/data_source_longzhong.go

+ 2 - 2
services/data_source_longzhong.go

@@ -227,8 +227,8 @@ func GetLzProductDetail() (err error) {
 		}
 	}()
 
-	startDate := "2017-01-01"//time.Now().AddDate(0, 0, 0).Format(utils.FormatDate)
-	endDate := "2017-12-31"//time.Now().AddDate(0, 0, 0).Format(utils.FormatDate)
+	startDate := time.Now().AddDate(0, 0, 0).Format(utils.FormatDate)
+	endDate := time.Now().AddDate(0, 0, 0).Format(utils.FormatDate)
 	time.Sleep(5 * time.Second)
 	pageSize := 30