Commit 9d36ff9c by 赵宇

fix

parent db6ec77a
......@@ -38,7 +38,8 @@ def default_address():
"type": i.industry_type, # 园区类别
"charge": i.charge if i.charge else "-", # 园区负责人
"phone": i.phone if i.phone else "-", # 园区电话
"address": i.address, # 园区地址
# "address": i.address, # 园区地址
"address": i.region, # 园区地址
"jwd": {"lng": i.lng, "lat": i.lat}} for i in result], "all_jwd": all_jwd, "size": size}
if not result:
# 在第一条建议显示
......@@ -104,7 +105,8 @@ def advice():
"type": i.industry_type, # 园区类别
"charge": i.charge if i.charge else "-", # 园区负责人
"phone": i.phone if i.phone else "-", # 园区电话
"address": i.address, # 园区地址
# "address": i.address, # 园区地址
"address": i.region, # 园区地址
"jwd": {"lng": i.lng, "lat": i.lat}} for i in result], "all_jwd": all_jwd, "size": size}
if not result:
# 在第一条建议显示
......
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