develop

Conflicts:
	src/main/resources/messages/message_ru.properties
	src/main/resources/messages/message_zh_CN.properties
This commit is contained in:
DuanDongmei
2018-11-14 13:15:11 +08:00
38 changed files with 6959 additions and 1596 deletions

View File

@@ -22,25 +22,25 @@ choose=Choose
onloading=Loading...
requestInfo=Official Letter
configuration_manage=Policies
text_control=Text Routine Control
text_control=Text Routine Block
text_monitor=Text Routine Monitor
text_enhance_manage=Text Enhance Control
text_enhance_manage=Text Enhance Block
text_enhance_monitor=Text Enhance Monitor
plaintext_manage=Plaintext Control
plaintext_manage=Plaintext Block
control_white=White List
ip_control_white=Ip White List
control_grey=Grey List
social_app_grey=Application Grey List
encryption_control=Encrypted Text Control
specific_agreement_control=Specific Protocol Control
encryption_control=Encrypted Text Block
specific_agreement_control=Specific Protocol Block
social_app_control=App Identify
online_media_control=Media Addr
sip_ip_control=SIP IP Control
sip_ip_control=SIP IP Block
domain_control_white=Domain White List
ip_address_control=IP
ip_control=IP Address
ip_redirect=IP Redirect
domain_control=Domain Control
domain_control=Domain Block
dns_control=DNS
basic_configuration=Basic Configuration
Request_from=Letter Office
@@ -54,20 +54,20 @@ effect_range=Effective Range
agreement_ip_configuration=Protocol IP
ip_spoofing_configuration=Spoofing IP
website_control=Website
host_control=HOST Control
url_control=URL Control
website_keyword_control=Website Keyword Control
host_control=HOST Block
url_control=URL Block
website_keyword_control=Website Keyword Block
mail_control=Mail
recipient_control=Recipient Control
sender_control=Sender Control
subject_control=Subject Control
mail_keyword_control=Mail Keyword Control
mail_attachment_name_control=Mail Attachment Name Control
mail_attachment_content_control=Mail Attachment Content Control
recipient_control=Recipient Block
sender_control=Sender Block
subject_control=Subject Block
mail_keyword_control=Mail Keyword Block
mail_attachment_name_control=Mail Attachment Name Block
mail_attachment_content_control=Mail Attachment Content Block
file_transfer_control=File Transfer
ftp_address_control=FTP Url Control
ftp_name_control=FTP Filename Control
ftp_content_control=FTP File Content Control
ftp_address_control=FTP Url Block
ftp_name_control=FTP Filename Block
ftp_content_control=FTP File Content Block
http_app_feature=Application HTTP Feature
ssl_app_feature=Application SSL Feature
tunnel_protocol_control=Tunnel Protocol
@@ -80,15 +80,15 @@ ike_control=IKE
ipsec_control=IPSEC
ssh_control=SSH
ssl_control=SSL
ssl_feature_control=SSL Cert Control
ssl_sni_control=SSL SNI Control
ssl_address_control=SSL IP Control
ssl_feature_control=SSL Cert Block
ssl_sni_control=SSL SNI Block
ssl_address_control=SSL IP Block
HTTP(s)_website_content_replace=HTTPS Website Replace
https_website_control=HTTP(s) Website Replace
rtp_ip_control=RTP IP Control
mms_ip_control=MMS IP Control
rtsp_ip_control=RTSP IP Control
rtmp_ip_control=RTMP IP Control
rtp_ip_control=RTP IP Block
mms_ip_control=MMS IP Block
rtsp_ip_control=RTSP IP Block
rtmp_ip_control=RTMP IP Block
examine_manage=Confirmation
audit_manage=Audit
log_search=Logs
@@ -98,11 +98,11 @@ system_service_manage=System Service
features_area=Feature Area
attribute_manage=Attribute
isp_manage=ISP
ip_multiple_control=IP Multiple Control
ip_port_control=IP+PORT Control
website_multiple_control=Website Multiple Control
ip_multiple_control=IP Multiple Block
ip_port_control=IP+PORT Block
website_multiple_control=Website Multiple Block
mail_multiple_control=Mail Advanced
request_header_control=Http Request Header Control
request_header_control=Http Request Header Block
plaintext_monitor=Plaintext Monitor
ip_address_monitor=IP Monitor
ip_port_monitor=IP+Port Monitor
@@ -148,20 +148,20 @@ ftp_multi_monitor=FTP Multiple Monitor
ssl_multi_monitor=SSL Multiple Monitor
dns_request_monitor=DNS Request Monitor
dns_server_monitor=DNS Host Monitor
request_header_keyword_control=Request Header Keyword Control
response_header_keyword_control=Response Header Keyword Control
mail_key_control=Mail Keyword Control
ftp_multi_control=FTP Multiple Control
request_header_keyword_control=Request Header Keyword Block
response_header_keyword_control=Response Header Keyword Block
mail_key_control=Mail Keyword Block
ftp_multi_control=FTP Multiple Block
ftp_control=FTP
p2p_control=P2P
tunnel_protocol_multi_control=Tunnel Multiple Control
l2tp_protocol_control=L2TP Control
pptp_protocol_control=PPTP Control
ssl_multi_control=SSL Multiple Control
ssl_certificate_control=SSL Cert Control
tunnel_protocol_multi_control=Tunnel Multiple Block
l2tp_protocol_control=L2TP Block
pptp_protocol_control=PPTP Block
ssl_multi_control=SSL Multiple Block
ssl_certificate_control=SSL Cert Block
ssl_certificate_monitor=SSL Cert Monitor
response_header_control=Response Header Control
ip_website_text_control=IP+Website Keyword Control
response_header_control=Response Header Block
ip_website_text_control=IP+Website Keyword Block
request_task=Letter and Task
realtime_report=Statistics
protocol_and_app=Protocol And App
@@ -327,8 +327,8 @@ client_address_mask=Client IP Mask
server_port=Server Port
server_port_mask=Server Port Mask
server_address_mask=Server IP Mask
block_addr=Ip Control
block_domain=Domain Control
block_addr=Ip Block
block_domain=Domain Block
block_url=Block URL
configuration=Configuration
direction=Direction
@@ -440,7 +440,7 @@ icon=Icon
is_top_menu_info=Whether This Menu Is The Top Navigation Menu
sort_info=Sort Asc
is_show_sysmenu=Whether This Menu Is Display On The System Menu
control_permission_info=Permission Identity Defined In The Controller,Such As\:@RequiresPermissions("Permission Identity")
control_permission_info=Permission Identity Defined In The Blockler,Such As\:@RequiresPermissions("Permission Identity")
role_name=Role Name
data_range=Data Scope
allot=Allot
@@ -469,16 +469,16 @@ area_control_type=Effective Range Type
whitelist=White List
ip_whitelist=IP White List
domain_whitelist=Domain White List
dns_ip_control=DNS IP Control
dns_domain_control=DNS Domain Control
http_req_control=HTTP Request Control
http_ip_control=HTTP IP Control
http_url_control=HTTP URL Control
http_req_hdr_control=HTTP Request Header Control
http_req_body_control=HTTP Request Body Control
http_res_control=HTTP Response Control
http_res_hdr_control=HTTP Response Header Control
http_res_body_control=HTTP Response Header Control
dns_ip_control=DNS IP Block
dns_domain_control=DNS Domain Block
http_req_control=HTTP Request Block
http_ip_control=HTTP IP Block
http_url_control=HTTP URL Block
http_req_hdr_control=HTTP Request Header Block
http_req_body_control=HTTP Request Body Block
http_res_control=HTTP Response Block
http_res_hdr_control=HTTP Response Header Block
http_res_body_control=HTTP Response Header Block
av_control=Media Addr
av_content_ip_control=Audio/Video IP
av_picture_ip_control=Picture IP
@@ -640,9 +640,9 @@ mail_to=Recipient
subject=Subject
eml_file=EML File
eml_key=EML File Key
contrl_tunnel=Control Tunnel
contrl_tunnel=Block Tunnel
data_tunnel=Data Tunnel
contrl_message=Control Message
contrl_message=Block Message
data_message=Data Message
user_name=User Name
attack_type=Attack Type
@@ -687,7 +687,7 @@ behavior_protocol=Behavior Protocol
intercept_policy=Intercept Policy
ip_intercept=IP Intercept
domain_intercept=Domain Intercept
control_policy=Control Policy
control_policy=Block Policy
domain_forward=Domain Forward
http_redirect=HTTP(s) Redirect
http_req_replace=Http Request Body Replace
@@ -773,7 +773,7 @@ PXY_CTRL_HTTP_REQ_BODY=Request Body Configuration
PXY_CTRL_HTTP_RES_BODY=Response Body Configuration
dns_fake_ip=DNS Spoofing IP Configuration
APP_POLICY=APP Policy Configuration
PXY_CTRL_IP=IP Control Configuration
PXY_CTRL_IP=IP Block Configuration
APP_STATIC_SEV_IP=App Identify IP Configuration
APP_HTTP=APP HTTP Feature Configuration
APP_DOMAIN=APP Domain Feature Configuration
@@ -1282,7 +1282,7 @@ cache_whitelist=Cache Bypass
cache_key=Cache key
ignore_query_string=Ignore Query String in URL
include_cookie=Include Cookie Values
no_revalidate=No Revalidate
no_revalidate=Disable Revalidate
cache_dyn_url=Cache Dynamic Content
cache_cookied_cont=Cache Cookied Content
ignore_req_nocache=Ignore Request no-cache Headers

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,121 @@
drop table IF EXISTS `common_keyword_cfg` ;
CREATE TABLE `common_keyword_cfg` (
`cfg_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键,自增',
`cfg_desc` varchar(128) DEFAULT NULL,
`replace_content` varchar(500) DEFAULT NULL COMMENT '替换内容, action为replace时填写',
`cfg_keywords` varchar(2048) NOT NULL COMMENT '对应maat规范的字符串表keywords字段',
`action` int(11) NOT NULL COMMENT '1:阻断2监测 5 FD 白名单6监测白名单7: FD 监测都白名单应与业务ID所代表的逻辑相匹配8-灰名单',
`is_valid` int(11) NOT NULL COMMENT '0无效1有效-1删除;1 未审核时配置可删除;2 审核通过此字段置1;3 取消审核通过此字段置0',
`is_audit` int(11) NOT NULL COMMENT '0未审核1审核通过2审核未通过3取消审核通过;1 审核未通过,配置可修改;2 审核通过,配置不可删除,只能取消审核通过',
`creator_id` int(11) NOT NULL COMMENT '取自sys_user.id',
`create_time` datetime NOT NULL,
`editor_id` int(11) DEFAULT NULL COMMENT '取自sys_user.id',
`edit_time` datetime DEFAULT NULL,
`auditor_id` int(11) DEFAULT NULL COMMENT '取自sys_user.id',
`audit_time` datetime DEFAULT NULL,
`service_id` int(11) NOT NULL COMMENT '参考系统业务类型管理表',
`request_id` int(11) NOT NULL COMMENT '取自request_info.id',
`compile_id` int(11) NOT NULL COMMENT '取自服务接口返回的maat配置的编译id配置初始入库时获取。',
`is_area_effective` int(11) NOT NULL COMMENT '0否1是',
`classify` varchar(128) DEFAULT NULL COMMENT '分类id多个用英文逗号分隔',
`attribute` varchar(128) DEFAULT NULL COMMENT '性质id多个用英文逗号分隔',
`lable` varchar(128) DEFAULT NULL COMMENT '标签id,多个用英文逗号分隔',
`expr_type` int(11) NOT NULL COMMENT '0无表达式1与表达式',
`match_method` int(11) NOT NULL COMMENT 'expr_type:0时有意义其它情况必须置0。0子串匹配1右匹配2左匹配3完全匹配',
`is_hexbin` int(11) NOT NULL COMMENT '默认为0:大小写不敏感且非HEX;1:HEX格式二进制;2:大小写敏感且非HEX',
`area_effective_ids` varchar(1024) DEFAULT NULL COMMENT '多个英文逗号分隔',
`function_id` int(11) DEFAULT NULL,
`cfg_region_code` int(11) DEFAULT NULL,
`cfg_type` varchar(64) DEFAULT NULL,
`user_region1` varchar(1024) DEFAULT NULL COMMENT '预留自定义域1',
`user_region2` varchar(1024) DEFAULT NULL COMMENT '预留自定义域2',
`user_region3` varchar(1024) DEFAULT NULL COMMENT '预留自定义域3',
`user_region4` varchar(1024) DEFAULT NULL COMMENT '预留自定义域4',
`user_region5` varchar(1024) DEFAULT NULL COMMENT '预留自定义域5',
PRIMARY KEY (`cfg_id`),
UNIQUE KEY `pk_cfg_index_id` (`cfg_id`) USING BTREE,
KEY `cfg_index_compileId` (`compile_id`) USING BTREE,
KEY `cfg_index_functionId` (`function_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=20 DEFAULT CHARSET=utf8mb4 COMMENT='通用字符串类配置';
drop table IF EXISTS `complex_keyword_cfg`;
CREATE TABLE `complex_keyword_cfg` (
`cfg_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键,自增',
`cfg_desc` varchar(128) DEFAULT NULL,
`district` varchar(128) DEFAULT NULL,
`keywords` varchar(2048) NOT NULL,
`action` int(11) NOT NULL COMMENT '1:阻断2监测 5 FD 白名单6监测白名单7: FD 监测都白名单应与业务ID所代表的逻辑相匹配8-灰名单',
`is_valid` int(11) NOT NULL COMMENT '0无效1有效-1删除;1 未审核时配置可删除;2 审核通过此字段置1;3 取消审核通过此字段置0',
`is_audit` int(11) NOT NULL COMMENT '0未审核1审核通过2审核未通过3取消审核通过;1 审核未通过,配置可修改;2 审核通过,配置不可删除,只能取消审核通过',
`creator_id` int(11) NOT NULL COMMENT '取自sys_user.id',
`create_time` datetime NOT NULL,
`editor_id` int(11) DEFAULT NULL COMMENT '取自sys_user.id',
`edit_time` datetime DEFAULT NULL,
`auditor_id` int(11) DEFAULT NULL COMMENT '取自sys_user.id',
`audit_time` datetime DEFAULT NULL,
`service_id` int(11) NOT NULL COMMENT '参考系统业务类型管理表',
`request_id` int(11) NOT NULL COMMENT '取自request_info.id',
`compile_id` int(11) NOT NULL COMMENT '取自服务接口返回的maat配置的编译id配置初始入库时获取。',
`is_area_effective` int(11) NOT NULL COMMENT '0否1是',
`classify` varchar(128) DEFAULT NULL COMMENT '分类id多个用英文逗号分隔',
`attribute` varchar(128) DEFAULT NULL COMMENT '性质id多个用英文逗号分隔',
`lable` varchar(128) DEFAULT NULL COMMENT '标签id,多个用英文逗号分隔',
`expr_type` int(11) NOT NULL COMMENT '0无表达式1与表达式',
`match_method` int(11) NOT NULL COMMENT 'expr_type:0时有意义其它情况必须置0。0子串匹配1右匹配2左匹配3完全匹配',
`is_hexbin` int(11) NOT NULL COMMENT '默认为0:大小写不敏感且非HEX;1:HEX格式二进制;2:大小写敏感且非HEX',
`area_effective_ids` varchar(1024) DEFAULT NULL COMMENT '多个英文逗号分隔',
`cfg_type` varbinary(64) DEFAULT NULL COMMENT '内容类型',
`function_id` int(11) NOT NULL COMMENT '菜单ID',
`cfg_region_code` int(11) DEFAULT NULL,
`user_region1` varchar(1024) DEFAULT '' COMMENT '预留自定义域1',
`user_region2` varchar(1024) DEFAULT '' COMMENT '预留自定义域2',
`user_region3` varchar(1024) DEFAULT '' COMMENT '预留自定义域3',
`user_region4` varchar(1024) DEFAULT '' COMMENT '预留自定义域4',
`user_region5` varchar(1024) DEFAULT '' COMMENT '预留自定义域5',
PRIMARY KEY (`cfg_id`),
UNIQUE KEY `pk_cfg_index_id` (`cfg_id`) USING BTREE,
KEY `cfg_index_compileId` (`compile_id`) USING BTREE,
KEY `cfg_index_functionId` (`function_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='通用增强字符串配置';
#增加缓存相关字典
INSERT INTO `sys_data_dictionary_name` (`id`, `module_name`, `mark`, `remark`, `revision`, `create_time`, `modify_time`, `status`) VALUES ('130', '缓存算法', 'CACHE_KEY', '', '', '2018-11-12 10:25:57', '2018-11-12 10:25:57', '1');
INSERT INTO `sys_data_dictionary_name` (`id`, `module_name`, `mark`, `remark`, `revision`, `create_time`, `modify_time`, `status`) VALUES ('131', '缓存验证', 'CACHE_NO_REVALIDATE', '', '', '2018-11-12 11:12:55', '2018-11-12 11:12:55', '1');
INSERT INTO `sys_data_dictionary_name` (`id`, `module_name`, `mark`, `remark`, `revision`, `create_time`, `modify_time`, `status`) VALUES ('132', '缓存动态URL', 'CACHE_DYN_URL', '', '', '2018-11-12 11:14:35', '2018-11-12 11:14:35', '1');
INSERT INTO `sys_data_dictionary_name` (`id`, `module_name`, `mark`, `remark`, `revision`, `create_time`, `modify_time`, `status`) VALUES ('133', '缓存cookie内容', 'CACHE_COOKIED_CONT', '', 'user:管理员,2018-11-12 11:16:04edit', '2018-11-12 11:15:46', '2018-11-12 11:16:04', '1');
INSERT INTO `sys_data_dictionary_name` (`id`, `module_name`, `mark`, `remark`, `revision`, `create_time`, `modify_time`, `status`) VALUES ('134', '忽略请求头不缓存', 'IGNORE_REQ_NOCACHE', '', '', '2018-11-12 11:18:09', '2018-11-12 11:18:09', '1');
INSERT INTO `sys_data_dictionary_name` (`id`, `module_name`, `mark`, `remark`, `revision`, `create_time`, `modify_time`, `status`) VALUES ('135', '忽略响应头不缓存', 'IGNORE_RES_NOCACHE', '', '', '2018-11-12 11:22:42', '2018-11-12 11:22:42', '1');
INSERT INTO `sys_data_dictionary_name` (`id`, `module_name`, `mark`, `remark`, `revision`, `create_time`, `modify_time`, `status`) VALUES ('136', '强制缓存', 'FORCE_CACHING', '', '', '2018-11-12 11:23:51', '2018-11-12 11:23:51', '1');
INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2992', 'ignore_query_string', 'ignore_query_string', '', '0', '1', '1', '130');
INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2993', 'include_cookie', 'include_cookie', '', '0', '1', '1', '130');
INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2994', '0', 'no', '', '0', '1', '1', '131');
INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2995', '1', 'yes', '', '0', '1', '1', '131');
INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2996', '0', 'no', '', '0', '1', '1', '132');
INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('2997', '1', 'yes', '', '0', '1', '1', '132');
INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3000', '0', 'no', '', '0', '1', '1', '133');
INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3001', '1', 'yes', '', '0', '1', '1', '133');
INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3002', '0', 'no', '', '0', '1', '1', '134');
INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3003', '1', 'yes', '', '0', '1', '1', '134');
INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3004', '0', 'no', '', '0', '1', '1', '135');
INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3005', '1', 'yes', '', '0', '1', '1', '135');
INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3006', '0', 'no', '', '0', '1', '1', '136');
INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3007', '1', 'yes', '', '0', '1', '1', '136');
#增加缓存功能业务字典
INSERT INTO `function_service_dict` (`dict_id`, `function_id`, `protocol_id`, `action`, `action_code`, `service_id`, `service_name`, `service_desc`, `is_valid`, `creator_id`, `create_time`, `editor_id`, `edit_time`, `region_code`, `is_import`) VALUES ('154', '213', '0', '48', 'cache', '625', 'proxy_cache_policy_redirect', NULL, '1', NULL, '2018-11-08 11:14:30', NULL, '2018-11-08 11:14:33', '2', '0');
INSERT INTO `function_service_dict` (`dict_id`, `function_id`, `protocol_id`, `action`, `action_code`, `service_id`, `service_name`, `service_desc`, `is_valid`, `creator_id`, `create_time`, `editor_id`, `edit_time`, `region_code`, `is_import`) VALUES ('155', '213', '0', '128', 'cache_whitelist', '624', 'proxy_cache_policy_whitelist', NULL, '1', NULL, '2018-11-08 11:16:18', NULL, '2018-11-08 11:16:23', NULL, '0');
INSERT INTO `function_region_dict` (`dict_id`, `function_id`, `config_district`, `config_region_code`, `config_region_value`, `config_desc`, `is_valid`, `is_maat`, `region_type`, `creator_id`, `create_time`, `editor_id`, `edit_time`, `config_service_type`, `config_expr_type`, `config_match_method`, `config_ip_type`, `config_hex`, `config_multi_keywords`, `config_ip_pattern`, `config_port_pattern`, `config_direction`, `config_protocol`, `config_ip_port_show`, `config_region_sort`, `is_import`) VALUES ('604', '213', NULL, '1', 'PXY_CACHE_HTTP_URL', '代理缓存URL配置', '1', '1', '2', NULL, '2018-11-08 11:20:31', NULL, '2018-11-08 11:20:33', '', '0,1', '0,1,2,3', NULL, '0,1,2', '1', NULL, NULL, NULL, NULL, NULL, '1', '0');
INSERT INTO `function_region_dict` (`dict_id`, `function_id`, `config_district`, `config_region_code`, `config_region_value`, `config_desc`, `is_valid`, `is_maat`, `region_type`, `creator_id`, `create_time`, `editor_id`, `edit_time`, `config_service_type`, `config_expr_type`, `config_match_method`, `config_ip_type`, `config_hex`, `config_multi_keywords`, `config_ip_pattern`, `config_port_pattern`, `config_direction`, `config_protocol`, `config_ip_port_show`, `config_region_sort`, `is_import`) VALUES ('605', '213', NULL, '2', 'PXY_CACHE_HTTP_COOKIE', '代理缓存cookie配置', '1', '1', '2', NULL, '2018-11-08 11:22:00', NULL, '2018-11-08 11:22:04', '', '0,1', '0,1,2,3', NULL, '0,1,2', '1', NULL, NULL, NULL, NULL, NULL, '2', '0');
#增加缓存功能菜单
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 ('1161', '719', '0,1,86,719,', 'cache_policy', '缓存策略', '90', '/proxy/cache/list', '', '', '1', 'cache:policy:config', '1', '2018-11-08 11:27:45', '1', '2018-11-08 11:27:45', '', '1', NULL, '0', '0', '213');
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 ('1162', '748', '0,1,150,748,', 'cache_policy', '缓存策略', '90', '/proxy/cache/list', '', '', '1', 'cache:policy:confirm', '1', '2018-11-08 11:28:43', '1', '2018-11-08 11:28:43', '', '1', NULL, '0', '0', '213');
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 ('1163', '850', '0,1,151,850,', 'cache_policy', '缓存策略', '90', '/proxy/cache/list', '', '', '1', '', '1', '2018-11-08 11:29:26', '1', '2018-11-08 11:29:26', '', '1', NULL, '0', '0', '213');
INSERT INTO `sys_data_dictionary_name` (`id`, `module_name`, `mark`, `remark`, `revision`, `create_time`, `modify_time`, `status`) VALUES ('137', '缓存时间单位', 'CACHE_TIME_UNIT', '', '', '2018-11-12 19:29:17', '2018-11-12 19:29:17', '1');
INSERT INTO `sys_data_dictionary_name` (`id`, `module_name`, `mark`, `remark`, `revision`, `create_time`, `modify_time`, `status`) VALUES ('138', '缓存文件大小', 'CACHE_SIZE_UNIT', '', '', '2018-11-12 19:30:07', '2018-11-12 19:30:07', '1');
INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3008', 'h', 'Hour', '', '0', '1', '1', '137');
INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3009', 'm', 'Minute', '', '0', '1', '1', '137');
INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3010', 's', 'Seconde', '', '0', '1', '1', '137');
INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3011', 'm', 'MB', '', '0', '1', '1', '138');
INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3012', 'g', 'GB', '', '0', '1', '1', '138');
INSERT INTO `sys_data_dictionary_item` (`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES ('3013', 't', 'TB', '', '0', '1', '1', '138');

View File

@@ -0,0 +1,3 @@
#修改ddos动作为回流配置表为NTC_DDOS_PROTECT_TARGET_IP
UPDATE function_region_dict SET config_region_value='NTC_DDOS_PROTECT_TARGET_IP' WHERE dict_id=74;
UPDATE function_service_dict SET `action`=96 , action_code='loop' WHERE dict_id=82;

View File

@@ -0,0 +1,4 @@
#修改日志ddos 为一个菜单
UPDATE sys_menu SET href='/log/ntc/ntcDdosLogs/list' WHERE id=1138;
UPDATE sys_menu SET is_show=0 WHERE id=1139;