hby100japp功能3

This commit is contained in:
2026-02-06 11:50:38 +08:00
parent 855714106e
commit f3551be093
16 changed files with 305 additions and 67 deletions

View File

@ -454,7 +454,7 @@ public class AudioProcessService {
// 使用HTTP方式调用
HttpTtsClient httpClient = new HttpTtsClient(accessKeyId, accessKeySecret, appKey);
//
byte[] mp3Data = httpClient.synthesizeTextToMp3(text);
byte[] mp3Data = httpClient.synthesizeTextToMp3(text,fileSuffix);
// byte[] mp3Data = alibabaTTSUtil.synthesizeTextToMp3(text);
SysOssVo upload = ossService.upload(mp3Data, generateRandomFileName(fileSuffix));