feat: 客服后台菜单按权限展示侧栏

This commit is contained in:
XingQue
2026-06-25 04:05:15 +08:00
parent 7a2723fef7
commit ff1e1a73dd
7 changed files with 270 additions and 1 deletions

View File

@@ -60,7 +60,7 @@ def build_admin_club_context(user):
is_group_admin=False,
assignments=[],
clubs=all_clubs,
can_switch_club=len(all_clubs) > 1,
can_switch_club=False,
role_code='CLUB_ADMIN',
role_name='子公司客服(默认)',
)