Commit d2431157 by dong

fix20230308

parent 9d24d6f1
......@@ -1221,7 +1221,7 @@ def newList1():
remind = ""
enterprise = enterprise
size = enterprise.count()
enters = enterprise.order_by(enterprise.hots.desc()).paginate(page, perpage).items
enters = enterprise.order_by(Enterprise.hots.desc()).paginate(page, perpage).items
enter = [{"id": i.id,
"name": i.company_name,
"hots": i.hots,
......@@ -1237,4 +1237,4 @@ def newList1():
return jsonify(code=RET.OK, msg="查找成功", data=data)
except Exception as e:
current_app.logger.error(e)
return jsonify(code=RET.DBERR, msg="数据库错误")
\ No newline at end of file
return jsonify(code=RET.DBERR, msg="数据库错误")
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