1.定时去统计界面和服务端的配置量入库,并新增系统管理-管理员用户预警界面列表的功能

2.实时扫描此表中界面和服务端的配置量是否一致,不一致,管理员用户告警提示
This commit is contained in:
shangguanyanfei
2019-03-29 18:14:18 +08:00
parent e4cf2aa1b4
commit 2809d1890d
18 changed files with 793 additions and 73 deletions

View 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);

View 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='管理员用户预警表';