diff --git a/src/main/resources/messages/message_en.properties b/src/main/resources/messages/message_en.properties index 4832b02dc..2e6cdda52 100644 --- a/src/main/resources/messages/message_en.properties +++ b/src/main/resources/messages/message_en.properties @@ -1591,9 +1591,9 @@ action_hijack=Hijack action_insert=Insert action_manipulate=Manipulate method=Method -ddos_log=DDoS -other_system_ddos_log_menu=DDoS Attack Chain -other_system_ddos_report_menu=DDoS Statistics +ddos_log=Attacks +other_system_ddos_log_menu=Chain Attack +other_system_ddos_report_menu=Attacks Statistics statistics=Statistics config_log_total=Configuration Log Total statis_dimension=Statistics Dimension diff --git a/src/main/resources/messages/message_ru.properties b/src/main/resources/messages/message_ru.properties index cc609b9c9..deddaa8b9 100644 --- a/src/main/resources/messages/message_ru.properties +++ b/src/main/resources/messages/message_ru.properties @@ -1593,9 +1593,9 @@ action_hijack=Hijack action_insert=Insert action_manipulate=Manipulate method=Method -ddos_log=DDoS -other_system_ddos_log_menu=DDoS Chain Attack -other_system_ddos_report_menu=DDoS Statistics +ddos_log=Attacks +other_system_ddos_log_menu=Chain Attack +other_system_ddos_report_menu=Attacks Statistics statistics=Statistics config_log_total=Configuration Log Total statis_dimension=Statistics Dimension diff --git a/src/main/resources/messages/message_zh_CN.properties b/src/main/resources/messages/message_zh_CN.properties index 2a40ebae8..866cc400f 100644 --- a/src/main/resources/messages/message_zh_CN.properties +++ b/src/main/resources/messages/message_zh_CN.properties @@ -1591,9 +1591,9 @@ action_hijack=\u52ab\u6301 action_insert=\u6ce8\u5165 action_manipulate=\u64cd\u63a7 method=\u65b9\u6cd5 -ddos_log=DDoS -other_system_ddos_log_menu=DDoS\u653b\u51fb\u94fe -other_system_ddos_report_menu=DDoS\u653b\u51fb\u6001\u52bf +ddos_log=\u653B\u51FB +other_system_ddos_log_menu=\u653b\u51fb\u94fe +other_system_ddos_report_menu=\u653b\u51fb\u6001\u52bf statistics=\u7edf\u8ba1 config_log_total=\u914d\u7f6e\u65e5\u5fd7\u603b\u91cf statis_dimension=\u7edf\u8ba1\u7ef4\u5ea6 diff --git a/src/main/resources/sql/20190529/add_menu.sql b/src/main/resources/sql/20190529/add_menu.sql index 1fdd53e79..bae1b36f0 100644 --- a/src/main/resources/sql/20190529/add_menu.sql +++ b/src/main/resources/sql/20190529/add_menu.sql @@ -1,3 +1,4 @@ #实时报表-流量统计下新增的统计菜单 INSERT INTO `sys_menu` ( `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 ( '875', '0,1,780,875,', 'statistics', 'Statistics', '39', '/dashboard/traffic/configStatistic', '', '', '1', '', '1', '2019-05-06 14:07:08', '1', '2019-05-27 15:24:41', '', '1', NULL, '0', '0', NULL); +insert into sys_privilege (PRIVILEGE_MASTER,PRIVILEGE_MASTER_VALUE,PRIVILEGE_ACCESS,PRIVILEGE_ACCESS_VALUE,PRIVILEGE_OPERATION ) select 'ROLE',r.id,1000,m.id,1 from sys_role r,sys_menu m where r.name='admin' and m.href='/dashboard/traffic/configStatistic';