|
|
@@ -30,7 +30,7 @@ import java.util.concurrent.TimeUnit;
|
|
|
@RefreshScope
|
|
|
public class SpeakerServiceImpl implements ISpeakerService {
|
|
|
|
|
|
- @Value("${speaker.port:8080}")
|
|
|
+ @Value("${speaker.port:8888}")
|
|
|
private String port;
|
|
|
|
|
|
@Value("${speaker.isOnline:0}")
|
|
|
@@ -188,7 +188,7 @@ public class SpeakerServiceImpl implements ISpeakerService {
|
|
|
}
|
|
|
String deviceIp =playVoList.get(0).getDeviceIp();
|
|
|
playBatchVo.setSns(snsList.toArray(new String[snsList.size()]));
|
|
|
- boolean isTrue = invokePost(JSONObject.toJSON(playBatchVo).toString(), deviceIp,1, 0);
|
|
|
+ boolean isTrue = invokePost(JSONObject.toJSON(playBatchVo).toString(), deviceIp,1, playVoList.get(0).getPort());
|
|
|
if (isTrue) {
|
|
|
textParseVoiceAppIps(texts,playVoList);
|
|
|
}
|