http-url 界面调整
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user