1、动作:白名单,阻断,监测
2、白名单业务为原有的域名白名单,阻断和监测业务为HTTP的阻断和监测业务
This commit is contained in:
leijun
2018-10-05 02:26:15 +08:00
parent bcf66ef52d
commit c06d7e11cb
5 changed files with 134 additions and 73 deletions

View File

@@ -424,6 +424,13 @@ public class DomainService extends CrudService<DomainDao,HttpUrlCfg> {
return entity;
}
public void saveDomainCfg(CfgIndexInfo entity){
if(entity.getAction()==128){
entity.setRequestId(0);
entity.setClassify("0");
entity.setAttribute("0");
entity.setLable("0");
entity.setIsAreaEffective(0);
}
//设置区域运营商信息
setAreaEffectiveIds(entity);