修复intercept 自定义域
This commit is contained in:
@@ -485,11 +485,7 @@ public class InterceptCfgService extends CrudService<WebsiteCfgDao,CfgIndexInfo>
|
|||||||
groupRelationList=map.get("groupList");
|
groupRelationList=map.get("groupList");
|
||||||
strRegionList=map.get("dstList");
|
strRegionList=map.get("dstList");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//设置intercept Policy自定义域
|
|
||||||
if(entity.getServiceId().equals(521)) {
|
|
||||||
domainUserRegion="{}";
|
|
||||||
}
|
|
||||||
//保存区域IP信息
|
//保存区域IP信息
|
||||||
List<AreaIpCfg> areaIpCfgList=areaIpCfgDao.getByCompileId(entity.getCompileId());
|
List<AreaIpCfg> areaIpCfgList=areaIpCfgDao.getByCompileId(entity.getCompileId());
|
||||||
if(!StringUtil.isEmpty(areaIpCfgList)){
|
if(!StringUtil.isEmpty(areaIpCfgList)){
|
||||||
@@ -596,6 +592,10 @@ public class InterceptCfgService extends CrudService<WebsiteCfgDao,CfgIndexInfo>
|
|||||||
maatCfg.setUserRegion(maatCfg.getUserRegion()+";"+domainUserRegion);
|
maatCfg.setUserRegion(maatCfg.getUserRegion()+";"+domainUserRegion);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
//设置intercept Policy自定义域
|
||||||
|
if(entity.getServiceId().equals(521)) {
|
||||||
|
maatCfg.setUserRegion("{}");
|
||||||
|
}
|
||||||
|
|
||||||
configCompileList.add(maatCfg);
|
configCompileList.add(maatCfg);
|
||||||
maatBean.setConfigCompileList(configCompileList);
|
maatBean.setConfigCompileList(configCompileList);
|
||||||
|
|||||||
Reference in New Issue
Block a user