yf_yzl 2 년 전
부모
커밋
478dec11af
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  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("'", '"')