去掉失败方法的一个字典;

去掉拦截限速业务
拦截内置配置的userRegion为{}
This commit is contained in:
段冬梅
2019-06-05 18:05:20 +08:00
parent f9768ab910
commit 94e764f97e
3 changed files with 3 additions and 4 deletions

View File

@@ -18,7 +18,8 @@ INSERT INTO `function_region_dict` (`function_id`, `config_district`, `config_re
#为admin角色分配操控菜单权限
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.code in ('http_manipulation');
#删除拦截限速业务
update function_service_dict set is_valid=0 where action_code='ratelimit' and service_id=514 and function_id=200;
#TODO 删除service、region字典*****************确认是否删除server_conf.xml
#update function_region_dict set is_Valid=0 where function_id in(208,209) and is_valid=1;
#update function_service_dict set is_Valid=0 where function_id in(208,209) and is_valid=1;

View File

@@ -5,8 +5,6 @@ INSERT INTO `sys_data_dictionary_name`(`module_name`, `mark`, `remark`, `revisio
INSERT INTO `sys_data_dictionary_item`(`item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) select 'pass-through', 'Pass-Through', '默认', 1, 1, 1, id from sys_data_dictionary_name where mark='FAIL_METHOD';
#INSERT INTO `sys_data_dictionary_item`(`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES (4097, 'fail-close', 'Fail-Close', NULL, 2, 1, 1, 154);
INSERT INTO `sys_data_dictionary_item`(`item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) select 'fail-close', 'Fail-Close', NULL, 2, 1, 1, id from sys_data_dictionary_name where mark='FAIL_METHOD';
#INSERT INTO `sys_data_dictionary_item`(`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES (4098, 'ignore', 'Ignore', NULL, 3, 1, 1, 154);
INSERT INTO `sys_data_dictionary_item`(`item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) select 'ignore', 'Ignore', NULL, 3, 1, 1, id from sys_data_dictionary_name where mark='FAIL_METHOD';
#SSL version字典
INSERT INTO `sys_data_dictionary_name`(`module_name`, `mark`, `remark`, `revision`, `create_time`, `modify_time`, `status`) VALUES ('SSL_VERSION', 'SSL_VERSION', '用于代理拦截策略SSL版本', NULL, '2019-05-09 11:50:43', '2019-05-09 11:50:46', 1);
#INSERT INTO `sys_data_dictionary_item`(`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES (4099, 'ssl3', 'SSLv3', 'min default', 1, 1, 1, 155);

View File

@@ -20,7 +20,7 @@
"configOption": 1,
"startTime": "2019-06-04 15:09:04",
"endTime": "2099-06-04 15:09:04",
"userRegion": "DOMAIN_ID=0;DOMAIN_STR=20190604.com",
"userRegion": "{}",
"groupNum": 1,
"fatherCfgId": 0,
"affairId": 97,