|
|
@@ -106,7 +106,7 @@ def main():
|
|
|
day_obj.content = str(today_data)
|
|
|
day_obj.save()
|
|
|
try:
|
|
|
- if now_hour == 9:
|
|
|
+ if now_hour == 19:
|
|
|
HistoryDayData.objects.create(
|
|
|
cityid = day_obj.cityid,
|
|
|
content = today_data,
|
|
|
@@ -127,7 +127,7 @@ def main():
|
|
|
day_obj.save()
|
|
|
print(f"request again success: {day_obj.cityid}")
|
|
|
try:
|
|
|
- if now_hour == 9:
|
|
|
+ if now_hour == 19:
|
|
|
HistoryDayData.objects.create(
|
|
|
cityid = day_obj.cityid,
|
|
|
content = today_data,
|