1、HTTP重定向配置业务功能提交;2、HTTP替换配置列表界面增加controller消息显示;3、修正ntc
http配置新增时的区域IP信息保存 Signed-off-by: zhangwei <zhangwei@intranet.com>
This commit is contained in:
@@ -167,8 +167,7 @@ public class WebsiteCfgService extends CrudService<WebsiteCfgDao,CfgIndexInfo> {
|
||||
}
|
||||
}
|
||||
//保存区域IP信息
|
||||
List<AreaIpCfg> areaIpCfgList=areaIpCfgDao.getByCompileId(entity.getCompileId());
|
||||
if(!StringUtil.isEmpty(areaIpCfgList)){
|
||||
if(entity.getAreaCfg()!=null){
|
||||
for(AreaIpCfg cfg:entity.getAreaCfg()){
|
||||
cfg.initDefaultValue();
|
||||
BeanUtils.copyProperties(entity, cfg,new String[]{"cfgRegionCode","cfgType"});
|
||||
@@ -427,7 +426,7 @@ public class WebsiteCfgService extends CrudService<WebsiteCfgDao,CfgIndexInfo> {
|
||||
if(userRegion.equals("")){
|
||||
userRegion += "HTTP_HEADER="+head.getDistrict();
|
||||
}else{
|
||||
userRegion += ";"+"HTTP_HEADER="+head.getDistrict();
|
||||
userRegion += Constants.USER_REGION_SPLIT+"HTTP_HEADER="+head.getDistrict();
|
||||
}
|
||||
|
||||
}
|
||||
@@ -441,7 +440,7 @@ public class WebsiteCfgService extends CrudService<WebsiteCfgDao,CfgIndexInfo> {
|
||||
if(userRegion.equals("")){
|
||||
userRegion += "HTTP_HEADER="+head.getDistrict();
|
||||
}else{
|
||||
userRegion += ";"+"HTTP_HEADER="+head.getDistrict();
|
||||
userRegion += Constants.USER_REGION_SPLIT+"HTTP_HEADER="+head.getDistrict();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user