Commit 8158749a by dong

fix20230202

parent 6eb8047c
......@@ -149,10 +149,9 @@ def downlist(): # 一级二级行业分类
industry = IndustryChain.query.filter_by(status=1).all()
data = [{
"name": i.industry_name,
"id": i.nid,
"id": i.id,
} for i in industry]
except Exception as e:
current_app.logger.error(e)
return jsonify(code=RET.DBERR, msg="数据库错误")
return jsonify(code=RET.OK, msg="查找成功", data=data)
\ No newline at end of file
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