策略对象p2p协议提交(无userRegion)

This commit is contained in:
wangxin
2019-07-04 10:11:23 +08:00
parent 61e920e9ec
commit e0b6f18615
4 changed files with 15 additions and 9 deletions

View File

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