diff --git a/src/main/resources/messages/message_en.properties b/src/main/resources/messages/message_en.properties index 7e29a1823..c682737af 100644 --- a/src/main/resources/messages/message_en.properties +++ b/src/main/resources/messages/message_en.properties @@ -1283,3 +1283,6 @@ ipv4_mask_range_tip=IP mask must between 16 and 32 ipv6_mask_range_tip=IP Mask must between 2 and 128 letter_cancel_info=Cancel Letter Info import_tip_excel=Please choose a valid Excel file with which it's subfix is .xls or .xlsx to import. +http_keyword=Website Keyword +http_keyword_monit=Website Keyword Monit +http_keyword_reject=Website Keyword Reject \ No newline at end of file diff --git a/src/main/resources/messages/message_ru.properties b/src/main/resources/messages/message_ru.properties index 22170717c..9ef072407 100644 --- a/src/main/resources/messages/message_ru.properties +++ b/src/main/resources/messages/message_ru.properties @@ -1303,3 +1303,6 @@ ipv4_mask_range_tip=IP mask must between 16 and 32 ipv6_mask_range_tip=IP Mask must between 2 and 128 letter_cancel_info=Cancel Letter Info import_tip_excel=Please choose a valid Excel file with which it's subfix is .xls or .xlsx to import. +http_keyword=Website Keyword +http_keyword_monit=Website Keyword Monit +http_keyword_reject=Website Keyword Reject \ No newline at end of file diff --git a/src/main/resources/messages/message_zh_CN.properties b/src/main/resources/messages/message_zh_CN.properties index ee92ec2cd..87dad61e9 100644 --- a/src/main/resources/messages/message_zh_CN.properties +++ b/src/main/resources/messages/message_zh_CN.properties @@ -1278,3 +1278,6 @@ ipv4_mask_range_tip=IP mask must between 16 and 32 ipv6_mask_range_tip=IP Mask must between 2 and 128 letter_cancel_info=\u53D6\u6D88\u5BA1\u6838\u6765\u51FD import_tip_excel=\u8BF7\u9009\u62E9\u6587\u4EF6\u7ED3\u5C3E\u4E3A.xls\u6216\u8005.xlsx\u7684\u6709\u6548Excel\u6587\u4EF6\u5BFC\u5165 +http_keyword=\u7F51\u9875\u5173\u952E\u5B57 +http_keyword_monit=\u7F51\u9875\u5173\u952E\u5B57\u76D1\u6D4B +http_keyword_reject=\u7F51\u9875\u5173\u952E\u5B57\u963B\u65AD \ No newline at end of file diff --git a/src/main/resources/sql/20181023/add_function_region_http_keyword_address.sql b/src/main/resources/sql/20181023/add_function_region_http_keyword_address.sql new file mode 100644 index 000000000..359c390e1 --- /dev/null +++ b/src/main/resources/sql/20181023/add_function_region_http_keyword_address.sql @@ -0,0 +1,10 @@ +#增加网页关键字请求跟应答 +INSERT INTO function_region_dict + (`config_service_type`, `config_multi_keywords`, `config_expr_type`, `config_hex`, `config_match_method`, `dict_id`, `function_id`, `config_region_code`, `config_region_value`, `config_district`, `config_desc`, `is_valid`, `creator_id`, `create_time`, `editor_id`, `edit_time`, `is_maat`, `region_type`, `config_ip_type`, `config_ip_pattern`, `config_port_pattern`, `config_direction`, `config_protocol`, `config_ip_port_show`, `config_region_sort`) +VALUES + ('', '1', '0,1', '0,1,2', '0,1,2,3', 601, 635, 1, 'NTC_HTTP_REQ_BODY', '', '网站关键字请求内容配置', 1, NULL, NULL, NULL, NULL, 1, 2, '', '', '', '', '', '', 1); + + INSERT INTO function_region_dict + (`config_service_type`, `config_multi_keywords`, `config_expr_type`, `config_hex`, `config_match_method`, `dict_id`, `function_id`, `config_region_code`, `config_region_value`, `config_district`, `config_desc`, `is_valid`, `creator_id`, `create_time`, `editor_id`, `edit_time`, `is_maat`, `region_type`, `config_ip_type`, `config_ip_pattern`, `config_port_pattern`, `config_direction`, `config_protocol`, `config_ip_port_show`, `config_region_sort`) +VALUES + ('', '1', '0,1', '0,1,2', '0,1,2,3', 602, 635, 2, 'NTC_HTTP_RES_BODY', '', '网站关键字应答内容配置', 1, NULL, NULL, NULL, NULL, 1, 2, '', '', '', '', '', '', 2); diff --git a/src/main/resources/sql/20181023/add_function_service_mail_addresss.sql b/src/main/resources/sql/20181023/add_function_service_mail_addresss.sql new file mode 100644 index 000000000..4495b1fae --- /dev/null +++ b/src/main/resources/sql/20181023/add_function_service_mail_addresss.sql @@ -0,0 +1,11 @@ +#更新邮件地址白名单服务id +UPDATE function_service_dict set service_id=66 where dict_id=147; + +INSERT INTO function_service_dict + (`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 + ('635', '4', '1', 'monit', '152', 'http_keyword_monit', NULL, '1', NULL, NULL, NULL, NULL, '1,2',1); +INSERT INTO function_service_dict + (`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 + ('635', '4', '16', 'reject', '28', 'http_keyword_reject', NULL, '1', NULL, NULL, NULL, NULL, '1,2',1);