1.修复HTTP(s) Monitor/Block配置导出无请求内容、响应头域BUG
2.增加分组域管理Excel导入GroupName必填校验
This commit is contained in:
@@ -152,7 +152,13 @@ public class CheckIpFormatThread implements Callable<String>{
|
||||
errInfo.append(prop.getProperty("config_describe")+prop.getProperty("length_error")+" "+String.format(prop.getProperty("max_length")+":128") + ";");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if(regionDict.getFunctionId().equals(605)) {
|
||||
if(StringUtils.isBlank(baseIpCfg.getGroupName())) {
|
||||
errInfo.append(
|
||||
String.format(prop.getProperty("can_not_null"), prop.getProperty("group_name")) + ";");
|
||||
}
|
||||
}
|
||||
if(regionDict.getFunctionId().equals(200)) {
|
||||
if(!serviceDict.getAction().equals(2)) {
|
||||
baseIpCfg.setDoLog(0);
|
||||
|
||||
@@ -125,6 +125,12 @@ public class CheckStringFormatThread implements Callable<String>{
|
||||
errInfo.append(prop.getProperty("config_describe")+prop.getProperty("length_error")+" "+String.format(prop.getProperty("max_length")+":128") + ";");
|
||||
}
|
||||
|
||||
if(regionDict.getFunctionId().equals(606) || regionDict.getFunctionId().equals(607) || regionDict.getFunctionId().equals(608)) {
|
||||
if(StringUtils.isBlank(baseStringCfg.getGroupName())) {
|
||||
errInfo.append(
|
||||
String.format(prop.getProperty("can_not_null"), prop.getProperty("group_name")) + ";");
|
||||
}
|
||||
}
|
||||
if(regionDict.getFunctionId().equals(200)) {
|
||||
if(!serviceDict.getAction().equals(2)) {
|
||||
baseStringCfg.setDoLog(0);
|
||||
|
||||
Reference in New Issue
Block a user