修复Intercept Policy自定义域{}
This commit is contained in:
@@ -475,10 +475,7 @@ public class InterceptCfgService extends CrudService<WebsiteCfgDao,CfgIndexInfo>
|
||||
}
|
||||
//entity.getHttpUrlList().get(0).getCfgKeywords();
|
||||
|
||||
domainUserRegion=domainUserRegion+";"+Constants.USERREGION_DOMAIN_STR+"="+domainStr;
|
||||
if(entity.getServiceId().equals(521)) {
|
||||
domainUserRegion="{}";
|
||||
}
|
||||
domainUserRegion=domainUserRegion+";"+Constants.USERREGION_DOMAIN_STR+"="+domainStr;
|
||||
HttpUrlCfg cfg = new HttpUrlCfg();
|
||||
BeanUtils.copyProperties(entity, cfg, new String[]{"cfgId"});
|
||||
cfg.setTableName(HttpUrlCfg.getTablename());
|
||||
@@ -489,6 +486,10 @@ public class InterceptCfgService extends CrudService<WebsiteCfgDao,CfgIndexInfo>
|
||||
strRegionList=map.get("dstList");
|
||||
}
|
||||
}
|
||||
//设置intercept Policy自定义域
|
||||
if(entity.getServiceId().equals(521)) {
|
||||
domainUserRegion="{}";
|
||||
}
|
||||
//保存区域IP信息
|
||||
List<AreaIpCfg> areaIpCfgList=areaIpCfgDao.getByCompileId(entity.getCompileId());
|
||||
if(!StringUtil.isEmpty(areaIpCfgList)){
|
||||
|
||||
Reference in New Issue
Block a user