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("'", '"')