feat: 考试权限dsks666、页面内切俱乐部、商品板块仅集团可改

This commit is contained in:
XingQue
2026-06-26 06:07:52 +08:00
parent 34e79aa753
commit 85531da9eb
5 changed files with 125 additions and 64 deletions

View File

@@ -8,6 +8,12 @@ from gvsdsdk.models import Permission
# (PermCode, PermName, PermDesc, PermCategory)
EXTRA_PERMISSIONS = [
(
'dsks666',
'打手接单考试管理',
'配置各俱乐部考试开关、抽题规则与题库(小程序配置-打手接单考试)',
'小程序配置',
),
(
'sfbq666',
'身份装饰标签管理',

View File

@@ -103,7 +103,7 @@ MENU_ROWS = [
{'page_id': 'miniapp.kaohe-tags', 'name': '抢单考核标签', 'path': '/miniapp/kaohe-tags', 'parent_id': 'miniapp', 'sort_order': 116,
'perm_codes': ['8080a']},
{'page_id': 'miniapp.dashou-exam', 'name': '打手接单考试', 'path': '/miniapp/dashou-exam', 'parent_id': 'miniapp', 'sort_order': 117,
'perm_codes': ['8080a']},
'perm_codes': ['dsks666', '8080a']},
# 店铺
{'page_id': 'shop', 'name': '店铺管理', 'path': '', 'parent_id': '', 'sort_order': 120},
{'page_id': 'shop.list', 'name': '店铺列表', 'path': '/shop/list', 'parent_id': 'shop', 'sort_order': 121,