From 660bec8594361298e390fa179d23025420803109 Mon Sep 17 00:00:00 2001 From: LiaoYijun Date: Wed, 14 May 2025 14:05:58 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E5=A2=9E=E5=8A=A0=E7=81=AB=E8=BD=A6?= =?UTF-8?q?=E7=A5=A8=E4=BE=9B=E5=BA=94=E5=95=86=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc/RBAC 权限.sql | 2 ++ src/views/account/RoleList.jsx | 1 + 2 files changed, 3 insertions(+) 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', '默认页面'], ]);