Commit ac655ff5 by dong

fix

parent 6eb6e279
......@@ -77,7 +77,7 @@ def find_up_thr(name_query, relation):
# @login_required
def get_cluster():
try:
cluster_obj = IndustryChain.query.all()
cluster_obj = IndustryChain.query.filter(IndustryChain.id<10).all()
data = [{"id": i.id, 'name': i.oname, 'oname': i.industry_name, 'industry_level': 1,
"icon": i.icon_url, "icon1": i.icon_url1}
for i in cluster_obj]
......
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