修正allow_http2的显示、bypass的自定义域改成null的json
This commit is contained in:
@@ -254,7 +254,10 @@ public class SchedulerTaskUtil {
|
||||
if(entity.getServiceId().equals(656)) {
|
||||
userRegion = BaseService.setUserRegionOfMantipulateCfg(cfg, userRegion);
|
||||
}
|
||||
|
||||
//Intercept Policy
|
||||
else if(entity.getServiceId().equals(521)) {
|
||||
userRegion="{}";
|
||||
}
|
||||
for(AsnIpCfg ip:asnIpList){//asn不需要再次获取regionId,groupId
|
||||
if(ip.getAsnIpGroup().toString().equals(cfg.getUserRegion4())){//根据组号对应
|
||||
ip.setIsValid(entity.getIsValid());
|
||||
|
||||
@@ -432,6 +432,8 @@ public class ConfigSynchronizationService extends BaseService{
|
||||
if(!StringUtil.isEmpty(cfg.getUserRegion1())&&cfg.getUserRegion1().startsWith("{")) {
|
||||
userRegion=cfg.getUserRegion1();
|
||||
}
|
||||
}else if(entity.getServiceId().equals(521)) {
|
||||
userRegion="{}";
|
||||
}else{
|
||||
/*if(regionKey.equals("keyring_id") && StringUtil.isEmpty(value)){
|
||||
value = "0";
|
||||
|
||||
@@ -476,6 +476,9 @@ public class InterceptCfgService extends CrudService<WebsiteCfgDao,CfgIndexInfo>
|
||||
//entity.getHttpUrlList().get(0).getCfgKeywords();
|
||||
|
||||
domainUserRegion=domainUserRegion+";"+Constants.USERREGION_DOMAIN_STR+"="+domainStr;
|
||||
if(entity.getServiceId().equals(521)) {
|
||||
domainUserRegion="{}";
|
||||
}
|
||||
HttpUrlCfg cfg = new HttpUrlCfg();
|
||||
BeanUtils.copyProperties(entity, cfg, new String[]{"cfgId"});
|
||||
cfg.setTableName(HttpUrlCfg.getTablename());
|
||||
|
||||
Reference in New Issue
Block a user