From a6260ee1ef54160ce757ee319ef9f448f21a9521 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=AE=B5=E5=86=AC=E6=A2=85?= Date: Sun, 2 Jun 2019 16:41:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=BB=E5=87=BB=E8=8F=9C=E5=8D=95=E5=9B=BD?= =?UTF-8?q?=E9=99=85=E5=8C=96=E6=9B=B4=E6=94=B9=EF=BC=8C=E8=8F=9C=E5=8D=95?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=B5=81=E9=87=8F=E7=BB=9F=E8=AE=A1=E8=8F=9C?= =?UTF-8?q?=E5=8D=95=E6=9D=83=E9=99=90=E5=88=86=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/messages/message_en.properties | 6 +++--- src/main/resources/messages/message_ru.properties | 6 +++--- src/main/resources/messages/message_zh_CN.properties | 6 +++--- src/main/resources/sql/20190529/add_menu.sql | 1 + 4 files changed, 10 insertions(+), 9 deletions(-) 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';