策略对象增加SSL协议

This commit is contained in:
wangxin
2019-07-03 16:51:10 +08:00
parent 360fdd574a
commit 61e920e9ec
4 changed files with 19 additions and 10 deletions

View File

@@ -131,6 +131,12 @@ public class ObjectGroupService extends BaseService {
}else if(entity.getAction().equals(16)){
entity.setServiceId(31);
}
}else if("SSL".equalsIgnoreCase(protocolType)){
if(entity.getAction().equals(1)){
entity.setServiceId(131);
}else if(entity.getAction().equals(16)){
entity.setServiceId(19);
}
}else if(StringUtils.isBlank(protocolType)){
if(MapUtils.isNotEmpty(entity.getUserRegion())&&entity.getUserRegion().containsKey("ipGroup")){
if(entity.getAction().equals(1)){