From c3db1fd2802cbc6b5a7223c20cc738eee57391ee Mon Sep 17 00:00:00 2001 From: lrh <1585126058@qq.com> Date: Thu, 6 Jul 2023 17:18:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8F=90=E7=A4=BA=E4=BF=A1?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/iformall/sm/AiVideoHelper.java | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/suimangService/src/main/java/com/iformall/sm/AiVideoHelper.java b/suimangService/src/main/java/com/iformall/sm/AiVideoHelper.java index acf1a85..8fe0baf 100644 --- a/suimangService/src/main/java/com/iformall/sm/AiVideoHelper.java +++ b/suimangService/src/main/java/com/iformall/sm/AiVideoHelper.java @@ -46,10 +46,18 @@ public class AiVideoHelper { public void setUrl(String url){ this.url = url; } - @Value("${photo.hy_url}") private static String hy_url; - @Value("${photo.talk}") + @Value("${photo.hy_url}") + + public void setHyUrl(String url){ + this.hy_url = url; + } private static String talk_url; + @Value("${photo.talk}") + + public void setTalkUrl(String url){ + this.talk_url = url; + } public static String photo_speak_suffix = "/img_talking"; public static String image_quality_suffix = "/image_qualit"; public static String voice_preview = "/tts_wav";