1.定时去统计界面和服务端的配置量入库,并新增系统管理-管理员用户预警界面列表的功能
2.实时扫描此表中界面和服务端的配置量是否一致,不一致,管理员用户告警提示
This commit is contained in:
2
src/main/resources/sql/20190329/add_sys_menu.sql
Normal file
2
src/main/resources/sql/20190329/add_sys_menu.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
--系统管理->管理员用户预警
|
||||
INSERT INTO `sys_menu` (`id`, `parent_id`, `parent_ids`, `code`, `name`, `sort`, `href`, `target`, `icon`, `is_show`, `permission`, `create_by`, `create_date`, `update_by`, `update_date`, `remarks`, `del_flag`, `menu_bg`, `quick_action`, `is_top`, `function_id`) VALUES ('1252', '2', '0,1,2,', 'admin_user_warn', '管理员用户预警', '5060', '/sys/warn/userWarnList', '', '', '1', 'sys:warnList:view', '1', '2019-03-28 10:06:26', '1', '2019-03-28 11:36:42', '', '1', NULL, '0', '0', NULL);
|
||||
9
src/main/resources/sql/20190329/create_sys_user_warn.sql
Normal file
9
src/main/resources/sql/20190329/create_sys_user_warn.sql
Normal file
@@ -0,0 +1,9 @@
|
||||
CREATE TABLE `sys_user_warn` (
|
||||
`service_id` int(11) NOT NULL COMMENT '业务ID',
|
||||
`service_desc` varchar(255) DEFAULT '' COMMENT '业务描述',
|
||||
`interface_cfg_total` int(11) DEFAULT NULL COMMENT '界面配置数量',
|
||||
`system_cfg_total` int(11) DEFAULT NULL COMMENT '服务配置数量',
|
||||
`time` datetime DEFAULT NULL COMMENT '数据插入时间',
|
||||
`remark` varchar(255) DEFAULT NULL COMMENT '备注',
|
||||
PRIMARY KEY (`service_id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='管理员用户预警表';
|
||||
Reference in New Issue
Block a user