Commit 0776db14 by dong

fix20230407

parent 2f514519
...@@ -203,7 +203,7 @@ def index_search(): ...@@ -203,7 +203,7 @@ def index_search():
"district": factory_obj.district_name, "district": factory_obj.district_name,
"attract_industry": factory_obj.attract_status, "attract_industry": factory_obj.attract_status,
"area": factory_obj.factory_area, "area": factory_obj.factory_area,
"price_url": factory_obj.price_url, "price_url": factory_obj.price_url if factory_obj.price_url else factory_obj.inside_picture_url if factory_obj.inside_picture_url else factory_obj.outer_picture_url if factory_obj.outer_picture_url else "",
"lng": factory_obj.lng, "lng": factory_obj.lng,
"lat": factory_obj.lat, "lat": factory_obj.lat,
} for factory_obj in factory_obj_list] } for factory_obj in factory_obj_list]
......
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