Przeglądaj źródła

query weather 2 hours ago

chenhaiyang 4 lat temu
rodzic
commit
9d21b95c39
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      app/services/weather.py

+ 1 - 1
app/services/weather.py

@@ -25,7 +25,7 @@ class WeatherService(Service):
         }
         params = {
             'cityCode': project_id[2:8],
-            'startDate': get_time_str(60 * 60, flag='ago'),
+            'startDate': get_time_str(60 * 60 * 2, flag='ago'),
             'endDate': self._now_time,
             'minResponse': True
         }