Commit cc0e44bb by dong

fix20230201

parent 4b925ff4
...@@ -26,7 +26,7 @@ def show_area(): ...@@ -26,7 +26,7 @@ def show_area():
if not district_name: if not district_name:
district_name = get_district_name(token) district_name = get_district_name(token)
area_data = [] area_data = [{"district_name": district_name}]
# 今年的1月1号 # 今年的1月1号
current_year = datetime.datetime.now().strftime('%Y-01-01 00:00:00') current_year = datetime.datetime.now().strftime('%Y-01-01 00:00:00')
# 今年今天的前一天凌晨 # 今年今天的前一天凌晨
...@@ -202,7 +202,6 @@ def show_area(): ...@@ -202,7 +202,6 @@ def show_area():
# 闲置率 # 闲置率
"current_build_empty_rate": total_empty_rate, "current_build_empty_rate": total_empty_rate,
"build_rate": build_rate, "build_rate": build_rate,
"district_name": district_name
}) })
except Exception as e: except Exception as e:
current_app.logger.error(e) current_app.logger.error(e)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment