diff --git a/doc/RBAC 权限.sql b/doc/RBAC 权限.sql index f7f173c..75bc702 100644 --- a/doc/RBAC 权限.sql +++ b/doc/RBAC 权限.sql @@ -61,6 +61,8 @@ INSERT INTO [dbo].[auth_resource] ([res_name] ,[res_pattern], [res_category]) VALUES ('所有国内功能', '/domestic/all', 'domestic') INSERT INTO [dbo].[auth_resource] ([res_name] ,[res_pattern], [res_category]) VALUES ('所有机票功能', '/air-ticket/all', 'air-ticket') +INSERT INTO [dbo].[auth_resource] ([res_name] ,[res_pattern], [res_category]) +VALUES ('所有火车票功能', '/train-ticket/all', 'train-ticket') -- 价格管理 INSERT INTO [dbo].[auth_resource] ([res_name] ,[res_pattern], [res_category]) diff --git a/src/views/account/RoleList.jsx b/src/views/account/RoleList.jsx index 08c4226..4758c81 100644 --- a/src/views/account/RoleList.jsx +++ b/src/views/account/RoleList.jsx @@ -68,6 +68,7 @@ function RoleList() { ['oversea', '海外供应商'], ['domestic', '国内供应商'], ['air-ticket', '机票供应商'], + ['train-ticket', '火车票供应商'], ['products', '产品价格'], ['page', '默认页面'], ]);