Commit ac661929 by 赵宇

fix

parent 33991e37
...@@ -383,7 +383,7 @@ def policy_details(): ...@@ -383,7 +383,7 @@ def policy_details():
"next": [policy1.name, _id2] if policy1 else ""} "next": [policy1.name, _id2] if policy1 else ""}
return jsonify(code=RET.OK, msg="查找成功", data=data) return jsonify(code=RET.OK, msg="查找成功", data=data)
else: else:
pass return jsonify(code=RET.OK, msg="查找成功,无数据", data='')
except Exception as e: except Exception as e:
current_app.logger.error(e) current_app.logger.error(e)
return jsonify(code=RET.DBERR, msg="数据库错误") 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