Proxy Control Policy配置增加导入.
This commit is contained in:
@@ -1690,6 +1690,19 @@ public abstract class BaseService {
|
||||
else if("subscribe_id".equals(regionDict.getConfigServiceType())){
|
||||
this.saveStringCfgBatch(regionDict,serviceDict,listPage, "ntc_subscribe_id_cfg",send);
|
||||
}
|
||||
// HTTP(s) URL
|
||||
else if(regionDict.getDictId().intValue()==97 || regionDict.getDictId().intValue()==79 ||
|
||||
regionDict.getDictId().intValue()==85 || regionDict.getDictId().intValue()==91 ||
|
||||
regionDict.getDictId().intValue()==99){
|
||||
this.saveStringCfgBatch(regionDict,serviceDict,listPage, "http_url_cfg",send);
|
||||
}
|
||||
// HTTP(s) 请求/应答内容
|
||||
else if(regionDict.getDictId().intValue()==94 || regionDict.getDictId().intValue()==95 ||
|
||||
regionDict.getDictId().intValue()==88 || regionDict.getDictId().intValue()==89 ||
|
||||
regionDict.getDictId().intValue()==82 || regionDict.getDictId().intValue()==83 ||
|
||||
regionDict.getDictId().intValue()==103 || regionDict.getDictId().intValue()==104){
|
||||
this.saveStringCfgBatch(regionDict,serviceDict,listPage, "http_body_cfg",send);
|
||||
}
|
||||
}else if("ComplexkeywordCfg".equals(type)) {
|
||||
List<ComplexkeywordCfg> listPage = (List<ComplexkeywordCfg>) list;
|
||||
// DNS
|
||||
@@ -1716,6 +1729,17 @@ public abstract class BaseService {
|
||||
if(regionDict.getDictId().intValue()==63) {
|
||||
// appCfgService.saveAppHttpCfg(listPage);
|
||||
this.saveComplexkeywordCfgBatch(regionDict,serviceDict,listPage, AppHttpCfg.getTablename(),send);
|
||||
}else
|
||||
// HTTP(s)请求头域
|
||||
if(regionDict.getDictId().intValue()==98 || regionDict.getDictId().intValue()==80 ||
|
||||
regionDict.getDictId().intValue()==86 || regionDict.getDictId().intValue()==92 ||
|
||||
regionDict.getDictId().intValue()==100) {
|
||||
this.saveComplexkeywordCfgBatch(regionDict,serviceDict,listPage, "http_req_head_cfg",send);
|
||||
}else
|
||||
// HTTP(s)响应头域
|
||||
if(regionDict.getDictId().intValue()==102 || regionDict.getDictId().intValue()==81 ||
|
||||
regionDict.getDictId().intValue()==87 || regionDict.getDictId().intValue()==93) {
|
||||
this.saveComplexkeywordCfgBatch(regionDict,serviceDict,listPage, "http_res_head_cfg",send);
|
||||
}
|
||||
}else if("DnsResStrategy".equals(type)) {
|
||||
List<DnsResStrategy> listPage = (List<DnsResStrategy>) list;
|
||||
|
||||
Reference in New Issue
Block a user