http-url 界面调整

This commit is contained in:
leijun
2018-10-11 15:02:24 +08:00
parent 8cc18a96a7
commit 2dc6975467
3 changed files with 14 additions and 18 deletions

View File

@@ -425,11 +425,12 @@ public class DomainService extends CrudService<DomainDao,HttpUrlCfg> {
}
public void saveDomainCfg(CfgIndexInfo entity){
if(entity.getAction()==128){
entity.setRequestId(0);
entity.setClassify("0");
entity.setAttribute("0");
entity.setLable("0");
entity.setIsAreaEffective(0);
entity.setCfgType("WHITE_LIST_DOMAIN");
if(entity.getHttpUrlList().size()>0){
for (int i = 0; i < entity.getHttpUrlList().size(); i++) {
entity.getHttpUrlList().get(i).setCfgType("WHITE_LIST_DOMAIN");
}
}
}
//设置区域运营商信息
setAreaEffectiveIds(entity);