From 1dd04972c6db3fcca241409a8d37ef501b277c9b Mon Sep 17 00:00:00 2001 From: Jimmy Liow Date: Sun, 29 Sep 2024 09:23:46 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E2=80=9C=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E4=BA=A7=E5=93=81=E2=80=9D=E6=9D=83=E9=99=90=E5=AE=9A?= =?UTF-8?q?=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc/RBAC 权限.sql | 2 ++ src/config.js | 1 + 2 files changed, 3 insertions(+) diff --git a/doc/RBAC 权限.sql b/doc/RBAC 权限.sql index c5d308d..f7f173c 100644 --- a/doc/RBAC 权限.sql +++ b/doc/RBAC 权限.sql @@ -66,6 +66,8 @@ VALUES ('所有机票功能', '/air-ticket/all', 'air-ticket') INSERT INTO [dbo].[auth_resource] ([res_name] ,[res_pattern], [res_category]) VALUES ('管理产品', '/products/*', 'products') INSERT INTO [dbo].[auth_resource] ([res_name] ,[res_pattern], [res_category]) +VALUES ('新增产品', '/products/new', 'products') +INSERT INTO [dbo].[auth_resource] ([res_name] ,[res_pattern], [res_category]) VALUES ('审核信息', '/products/info/audit', 'products') INSERT INTO [dbo].[auth_resource] ([res_name] ,[res_pattern], [res_category]) VALUES ('录入信息', '/products/info/put', 'products') diff --git a/src/config.js b/src/config.js index 786bbfe..3583054 100644 --- a/src/config.js +++ b/src/config.js @@ -35,6 +35,7 @@ export const PERM_AIR_TICKET = '/air-ticket/all' // 价格管理 export const PERM_PRODUCTS_MANAGEMENT = '/products/*'; // 管理 +export const PERM_PRODUCTS_NEW = '/products/info/audit'; // 新增产品 export const PERM_PRODUCTS_INFO_AUDIT = '/products/info/audit'; // 信息.审核 export const PERM_PRODUCTS_INFO_PUT = '/products/info/put'; // 信息.录入 export const PERM_PRODUCTS_OFFER_AUDIT = '/products/offer/audit'; // 价格.审核