修复domain white list修改失败的问题
This commit is contained in:
@@ -104,7 +104,7 @@ public class DomainService extends CrudService<DomainDao,HttpUrlCfg> {
|
||||
}
|
||||
this.saveIpBatch(cfg.getAreaCfg());
|
||||
}
|
||||
if(cfg instanceof HttpUrlCfg){
|
||||
if(cfg instanceof HttpUrlCfg && cfg.getCfgId() == null){
|
||||
domainDao.insert((HttpUrlCfg)cfg);
|
||||
}else{
|
||||
stringCfgDao.update(cfg);
|
||||
|
||||
Reference in New Issue
Block a user