From 2ad2b0b036b64c9650adad73613dbbb9d52e97a6 Mon Sep 17 00:00:00 2001 From: Sum1Dream <418471657@qq.com> Date: Fri, 9 Jun 2023 13:50:58 +0800 Subject: [PATCH 01/20] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E9=97=A8=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 --- .../com/cweb/controller/TestController.java | 16 +++ service/pom.xml | 18 +++ .../java/com/hfkj/tts/HWYunSisService.java | 108 ++++++++++++++++++ 3 files changed, 142 insertions(+) create mode 100644 service/src/main/java/com/hfkj/tts/HWYunSisService.java diff --git a/cweb/src/main/java/com/cweb/controller/TestController.java b/cweb/src/main/java/com/cweb/controller/TestController.java index 87283b3..202bcd2 100644 --- a/cweb/src/main/java/com/cweb/controller/TestController.java +++ b/cweb/src/main/java/com/cweb/controller/TestController.java @@ -34,6 +34,7 @@ import com.hfkj.model.MerBasisModel; import com.hfkj.model.ResponseData; import com.hfkj.service.*; import com.hfkj.sysenum.*; +import com.hfkj.tts.HWYunSisService; import freemarker.template.Configuration; import freemarker.template.Template; import freemarker.template.TemplateException; @@ -644,4 +645,19 @@ public class TestController { } } + + @RequestMapping(value="/ttsCustomDemo",method = RequestMethod.GET) + @ResponseBody + @ApiOperation(value = "updateReview") + public ResponseData ttsCustomDemo() { + try { + + return ResponseMsgUtil.success(HWYunSisService.ttsCustomDemo()); + + } catch (Exception e) { + log.error(e.getMessage(), e); + return ResponseMsgUtil.exception(e); + } + } + } diff --git a/service/pom.xml b/service/pom.xml index 6de9480..91fd332 100644 --- a/service/pom.xml +++ b/service/pom.xml @@ -373,6 +373,11 @@ freemarker 2.3.23 + + com.huawei.sis + huaweicloud-java-sdk-sis + 1.8.1 + + 64 MB + + + + + %d %p (%file:%line\)- %m%n + + UTF-8 + + + + + + + + + diff --git a/service/pom.xml b/service/pom.xml index da8a506..395fc6e 100644 --- a/service/pom.xml +++ b/service/pom.xml @@ -383,11 +383,6 @@ restful-sdk 1.0.0.13 - - cn.jpush.api - jpush-client - 3.2.17 -