|
@@ -183,7 +183,9 @@ public class HagContentServiceImpl implements HagContentService {
|
|
|
audioUrl.setUrl(hagAudioPrefix + md5PlayUrl(cdnSecret, url));
|
|
|
Map<String,List<AudioUrl>> map = new HashMap<>();
|
|
|
map.put("audioItemList",Arrays.asList(audioUrl));
|
|
|
- command.setBody(map);
|
|
|
+ Map<String,Map<String,List<AudioUrl>>> bodyMap = new HashMap<>();
|
|
|
+ bodyMap.put("templateContent",map);
|
|
|
+ command.setBody(bodyMap);
|
|
|
reply.setCommands(Arrays.asList(command));
|
|
|
hagSkillResp.setReply(reply);
|
|
|
return hagSkillResp;
|