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 +