策略对象增加流媒体协议

This commit is contained in:
wangxin
2019-07-04 11:05:24 +08:00
parent e0b6f18615
commit ff444747ee
4 changed files with 17 additions and 10 deletions

View File

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