Commit fc4522d2 by 于方蒙

修改 admin

parent 241f0be1
......@@ -252,7 +252,7 @@ def run_distribute_machine():
insert_sql = insert_sql[:-1]
insert_sql += " ON DUPLICATE KEY UPDATE status = 1"
db.session.execute(insert_sql)
if admin_info.level == 4:
if admin_info.level in (4,5):
machine.business_id = business_id
db.session.commit()
return_machine_no.append(i)
......
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