Commit d76703a9 by Aeolus

update

parent 7d582984
...@@ -78,7 +78,7 @@ class AdminService(object): ...@@ -78,7 +78,7 @@ class AdminService(object):
select business_id from admin_business where user_id = {user_id} and status = 1 select business_id from admin_business where user_id = {user_id} and status = 1
) )
) )
and admin_account.level > {level} and admin_account.level >= {level}
""".format(user_id=g.user.id, level=g.user.level) """.format(user_id=g.user.id, level=g.user.level)
if user_id: if user_id:
......
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