yf_yzl %!s(int64=2) %!d(string=hai) anos
pai
achega
478dec11af
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      apps/Weather/views.py

+ 0 - 1
apps/Weather/views.py

@@ -67,7 +67,6 @@ class GetWeather(APIView):
             table = DayData if day_type == "1" else ServerDayData
             if cityid:
                 logging.warning(f"{cityid}: 使用cityid查询")
-
                 query = table.objects.filter(cityid=cityid)
                 if  query:
                     temp = query.first().content.replace("'", '"')