|
@@ -511,10 +511,11 @@ public class LabExitLineServiceImpl implements ILabExitLineService
|
|
|
R deviceList = remoteSpeakService.getDeviceList(1,10, 5L);
|
|
R deviceList = remoteSpeakService.getDeviceList(1,10, 5L);
|
|
|
if(deviceList.getCode()==200){
|
|
if(deviceList.getCode()==200){
|
|
|
List<Map<String,Object>> mapList = (List <Map <String, Object>>) deviceList.getData();
|
|
List<Map<String,Object>> mapList = (List <Map <String, Object>>) deviceList.getData();
|
|
|
- List<PlayVo> playVoList = new ArrayList<>();
|
|
|
|
|
|
|
+
|
|
|
for(Map<String,Object> map:mapList){
|
|
for(Map<String,Object> map:mapList){
|
|
|
logger.info("喇叭日志============================="+map);
|
|
logger.info("喇叭日志============================="+map);
|
|
|
if(com.zd.common.core.utils.StringUtils.isNotNull(map.get("deviceSn")) && com.zd.common.core.utils.StringUtils.isNotNull(map.get("port"))){
|
|
if(com.zd.common.core.utils.StringUtils.isNotNull(map.get("deviceSn")) && com.zd.common.core.utils.StringUtils.isNotNull(map.get("port"))){
|
|
|
|
|
+ List<PlayVo> playVoList = new ArrayList<>();
|
|
|
PlayVo playVo = new PlayVo();
|
|
PlayVo playVo = new PlayVo();
|
|
|
playVo.setSn(map.get("deviceSn")+"");
|
|
playVo.setSn(map.get("deviceSn")+"");
|
|
|
playVo.setDeviceIp(map.get("deviceIp")+"");
|
|
playVo.setDeviceIp(map.get("deviceIp")+"");
|
|
@@ -522,9 +523,10 @@ public class LabExitLineServiceImpl implements ILabExitLineService
|
|
|
ParamVo paramVo=new ParamVo();
|
|
ParamVo paramVo=new ParamVo();
|
|
|
playVo.setParams(paramVo);
|
|
playVo.setParams(paramVo);
|
|
|
playVoList.add(playVo);
|
|
playVoList.add(playVo);
|
|
|
|
|
+ remoteSpeakService.textParseUrlAppIps(audioSyntheses.getNewMusicUrl(),playVoList);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- remoteSpeakService.textParseUrlAppIps(audioSyntheses.getNewMusicUrl(),playVoList);
|
|
|
|
|
|
|
+
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}catch (Exception e){
|
|
}catch (Exception e){
|