|
|
@ -45,14 +45,34 @@ VALUES ('技术研发部')
|
|
|
|
INSERT INTO [dbo].[auth_resource] ([res_name] ,[res_pattern], [res_category])
|
|
|
|
INSERT INTO [dbo].[auth_resource] ([res_name] ,[res_pattern], [res_category])
|
|
|
|
VALUES ('所有权限', '*', 'system')
|
|
|
|
VALUES ('所有权限', '*', 'system')
|
|
|
|
INSERT INTO [dbo].[auth_resource] ([res_name] ,[res_pattern], [res_category])
|
|
|
|
INSERT INTO [dbo].[auth_resource] ([res_name] ,[res_pattern], [res_category])
|
|
|
|
VALUES ('最新团计划', '/reservation/newest', 'oversea')
|
|
|
|
VALUES ('管理账号', '/account/management', 'system')
|
|
|
|
INSERT INTO [dbo].[auth_resource] ([res_name] ,[res_pattern], [res_category])
|
|
|
|
INSERT INTO [dbo].[auth_resource] ([res_name] ,[res_pattern], [res_category])
|
|
|
|
VALUES ('账单', '/invoice', 'oversea')
|
|
|
|
VALUES ('新增账号', '/account/new', 'system')
|
|
|
|
|
|
|
|
INSERT INTO [dbo].[auth_resource] ([res_name] ,[res_pattern], [res_category])
|
|
|
|
|
|
|
|
VALUES ('禁用账号', '/account/disable', 'system')
|
|
|
|
|
|
|
|
INSERT INTO [dbo].[auth_resource] ([res_name] ,[res_pattern], [res_category])
|
|
|
|
|
|
|
|
VALUES ('重置密码', '/account/reset-password', 'system')
|
|
|
|
|
|
|
|
INSERT INTO [dbo].[auth_resource] ([res_name] ,[res_pattern], [res_category])
|
|
|
|
|
|
|
|
VALUES ('管理角色', '/account/role-new', 'system')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
INSERT INTO [dbo].[auth_resource] ([res_name] ,[res_pattern], [res_category])
|
|
|
|
|
|
|
|
VALUES ('所有海外功能', '/oversea/all', 'oversea')
|
|
|
|
|
|
|
|
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 ('管理产品', '/products/*', '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')
|
|
|
|
INSERT INTO [dbo].[auth_resource] ([res_name] ,[res_pattern], [res_category])
|
|
|
|
INSERT INTO [dbo].[auth_resource] ([res_name] ,[res_pattern], [res_category])
|
|
|
|
VALUES ('账号权限管理', '/account/management', 'system')
|
|
|
|
VALUES ('审核价格', '/products/offer/audit', 'products')
|
|
|
|
INSERT INTO [dbo].[auth_resource] ([res_name] ,[res_pattern], [res_category])
|
|
|
|
INSERT INTO [dbo].[auth_resource] ([res_name] ,[res_pattern], [res_category])
|
|
|
|
VALUES ('新增角色', '/account/new-role', 'system')
|
|
|
|
VALUES ('录入价格', '/products/offer/put', 'products')
|
|
|
|
|
|
|
|
|
|
|
|
INSERT INTO [dbo].[auth_permission] ([role_id] ,[res_id])
|
|
|
|
INSERT INTO [dbo].[auth_permission] ([role_id] ,[res_id])
|
|
|
|
VALUES (1, 1)
|
|
|
|
VALUES (1, 1)
|
|
|
|