(1)Packet IP Block限制协议值为6

(2)导入加入账号保存的方法
This commit is contained in:
wangxin
2018-12-18 10:09:14 +06:00
parent 05677333ef
commit 9355918750
2 changed files with 10 additions and 0 deletions

View File

@@ -595,6 +595,12 @@ public class CheckIpFormatThread implements Callable<String>{
baseIpCfg.setProtocol(baseIpCfg.getProtocol());
baseIpCfg.setProtocolId(serviceDict==null?0:serviceDict.getProtocolId());
}
if(regionDict!=null&&serviceDict!=null&&regionDict.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的值
boolean validProtocol = this.validProtocol(errInfo, baseIpCfg.getProtocol(), protocol);
// 验证protocol与port是否符合逻辑

View File

@@ -1676,6 +1676,10 @@ public abstract class BaseService {
if(regionDict.getDictId().intValue()==56){
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)) {
List<ComplexkeywordCfg> listPage = (List<ComplexkeywordCfg>) list;
// DNS