|
|
@@ -42,6 +42,7 @@ public class VoiceInfoServiceImpl implements VoiceInfoService { |
|
|
|
strings.forEach(y->{ |
|
|
|
VoiceInfoVo infoVo = new VoiceInfoVo(); |
|
|
|
infoVo.setName(EnumSpeakType.getEnum(y).getMessage()); |
|
|
|
infoVo.setEngName(y); |
|
|
|
infoVo.setUrl(url + x.getMouldSmId() + "_" + y + end); |
|
|
|
list.add(infoVo); |
|
|
|
}); |
|
|
@@ -49,12 +50,14 @@ public class VoiceInfoServiceImpl implements VoiceInfoService { |
|
|
|
VoiceInfoVo infoVo = new VoiceInfoVo(); |
|
|
|
infoVo.setName(EnumSpeakType.getEnum(0).getMessage()); |
|
|
|
infoVo.setUrl(url + x.getMouldSmId() + "_" + "default" + end); |
|
|
|
infoVo.setEngName("default"); |
|
|
|
list.add(infoVo); |
|
|
|
x.setStyle(list); |
|
|
|
} else { |
|
|
|
List<VoiceInfoVo> list = Lists.newArrayList(); |
|
|
|
VoiceInfoVo infoVo = new VoiceInfoVo(); |
|
|
|
infoVo.setName(EnumSpeakType.getEnum(0).getMessage()); |
|
|
|
infoVo.setEngName("default"); |
|
|
|
infoVo.setUrl(url + x.getMouldSmId() + "_" + "default" + end); |
|
|
|
list.add(infoVo); |
|
|
|
x.setStyle(list); |
|
|
|