Commit 7782e1ed by Aeolus

发票审核功能给自己开权限

parent f63388b0
...@@ -94,7 +94,7 @@ def invoice_compare(): ...@@ -94,7 +94,7 @@ def invoice_compare():
@route_invoice.route('/submit', methods=['GET', 'POST']) @route_invoice.route('/submit', methods=['GET', 'POST'])
def invoice_submit(): def invoice_submit():
if g.user.id not in (2, 4): if g.user.id not in (162, 4):
# if g.user.id != 4: # if g.user.id != 4:
return jsonify(BASE_RESPONSE(error_code=-1, error_message='permission denied').to_dict()) return jsonify(BASE_RESPONSE(error_code=-1, error_message='permission denied').to_dict())
......
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