| | |
| | | * @return |
| | | */ |
| | | public String ttsPlayback(String fileText, String uuid) { |
| | | System.out.println("=====================问题内容:" + fileText + "UUID ; " + uuid); |
| | | Map<String, Object> map = new HashMap<>(); |
| | | map.put("text", fileText); |
| | | map.put("uuid", uuid); |
| | |
| | | String responseBody = null; |
| | | try { |
| | | responseBody = new String(stringHttpEntity.getBody().getBytes("ISO-8859-1"), "UTF-8"); |
| | | System.out.println(responseBody); |
| | | System.out.println("电话信息返回 : " + responseBody); |
| | | } catch (UnsupportedEncodingException e) { |
| | | e.printStackTrace(); |
| | | } |