From 18ca4dd49e605c7fd99ff4f6446087c0cbec5c6b Mon Sep 17 00:00:00 2001 From: Sum1Dream <418471657@qq.com> Date: Fri, 9 Jun 2023 13:54:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E6=9F=A5=E8=AF=A2=E9=97=A8?= =?UTF-8?q?=E5=BA=97=E5=92=8C=E7=A7=AF=E5=88=86=E8=BF=94=E5=88=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service/src/main/java/com/hfkj/tts/HWYunSisService.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/service/src/main/java/com/hfkj/tts/HWYunSisService.java b/service/src/main/java/com/hfkj/tts/HWYunSisService.java index dc7d9f6..14dfbe3 100644 --- a/service/src/main/java/com/hfkj/tts/HWYunSisService.java +++ b/service/src/main/java/com/hfkj/tts/HWYunSisService.java @@ -1,6 +1,7 @@ package com.hfkj.tts; +import com.hfkj.config.CommonSysConst; import com.huawei.sis.bean.AuthInfo; import com.huawei.sis.bean.SisConfig; import com.huawei.sis.bean.SisConstant; @@ -26,8 +27,8 @@ public class HWYunSisService { // 待合成的文本 private static String text = "惠支付收款 98.6元"; // 设置本地音频保存路径.可选择不保存到本地。需具体到文件,如D:/test.wav -// private static String path = CommonSysConst.getSysConfig().getFile_url() + "/tts/test.wav"; - private static String path = "/Volumes/work/开发/filesystem/test.mp3"; + private static String path = CommonSysConst.getSysConfig().getFile_url() + "/tts/test.wav"; +// private static String path = "/Volumes/work/开发/filesystem/test.mp3"; /**