(1)Packet IP Block限制协议值为6
(2)导入加入账号保存的方法
This commit is contained in:
@@ -595,6 +595,12 @@ public class CheckIpFormatThread implements Callable<String>{
|
|||||||
baseIpCfg.setProtocol(baseIpCfg.getProtocol());
|
baseIpCfg.setProtocol(baseIpCfg.getProtocol());
|
||||||
baseIpCfg.setProtocolId(serviceDict==null?0:serviceDict.getProtocolId());
|
baseIpCfg.setProtocolId(serviceDict==null?0:serviceDict.getProtocolId());
|
||||||
}
|
}
|
||||||
|
if(regionDict!=null&&serviceDict!=null&®ionDict.getFunctionId().intValue()==5&&serviceDict.getServiceId().intValue()==16) {
|
||||||
|
if(baseIpCfg.getProtocol().intValue()!=6) {
|
||||||
|
errInfo.append(String.format(prop.getProperty("is_incorrect"), prop.getProperty("protocol")) + "."
|
||||||
|
+ String.format(prop.getProperty("alternative_values"), 6) + ";");
|
||||||
|
}
|
||||||
|
}
|
||||||
// TODO 判断Protocol的值
|
// TODO 判断Protocol的值
|
||||||
boolean validProtocol = this.validProtocol(errInfo, baseIpCfg.getProtocol(), protocol);
|
boolean validProtocol = this.validProtocol(errInfo, baseIpCfg.getProtocol(), protocol);
|
||||||
// 验证protocol与port是否符合逻辑
|
// 验证protocol与port是否符合逻辑
|
||||||
|
|||||||
@@ -1676,6 +1676,10 @@ public abstract class BaseService {
|
|||||||
if(regionDict.getDictId().intValue()==56){
|
if(regionDict.getDictId().intValue()==56){
|
||||||
this.saveStringCfgBatch(regionDict,serviceDict,listPage, "http_url_cfg",send);
|
this.saveStringCfgBatch(regionDict,serviceDict,listPage, "http_url_cfg",send);
|
||||||
}
|
}
|
||||||
|
//账号
|
||||||
|
else if("subscribe_id".equals(regionDict.getConfigServiceType())){
|
||||||
|
this.saveStringCfgBatch(regionDict,serviceDict,listPage, "ntc_subscribe_id_cfg",send);
|
||||||
|
}
|
||||||
}else if("ComplexkeywordCfg".equals(type)) {
|
}else if("ComplexkeywordCfg".equals(type)) {
|
||||||
List<ComplexkeywordCfg> listPage = (List<ComplexkeywordCfg>) list;
|
List<ComplexkeywordCfg> listPage = (List<ComplexkeywordCfg>) list;
|
||||||
// DNS
|
// DNS
|
||||||
|
|||||||
Reference in New Issue
Block a user