소스 검색

query weather 2 hours ago

chenhaiyang 4 년 전
부모
커밋
9d21b95c39
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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
         }