diff --git a/sql/20210413-dukang.sql b/sql/20210413-dukang.sql new file mode 100644 index 000000000..cbfc8a387 --- /dev/null +++ b/sql/20210413-dukang.sql @@ -0,0 +1,11 @@ +CREATE TABLE `map_group` ( + `id` BIGINT(20) NOT NULL AUTO_INCREMENT, + `group_name` VARCHAR(64) NOT NULL, + `group_type` VARCHAR(32) NOT NULL, + `map_ids` VARCHAR(6400) NOT NULL DEFAULT '[]', + PRIMARY KEY (`id`) +) +COMMENT='地图分组' +ENGINE=InnoDB +AUTO_INCREMENT=3 +; diff --git a/src/main/java/club/joylink/rtss/services/voice/huawei/HuaweiVoiceServiceImpl.java b/src/main/java/club/joylink/rtss/services/voice/huawei/HuaweiVoiceServiceImpl.java index 377bb1283..492d9c404 100644 --- a/src/main/java/club/joylink/rtss/services/voice/huawei/HuaweiVoiceServiceImpl.java +++ b/src/main/java/club/joylink/rtss/services/voice/huawei/HuaweiVoiceServiceImpl.java @@ -20,6 +20,12 @@ import java.util.Base64; @Service("HuaWeiVoiceService") public class HuaweiVoiceServiceImpl implements IVoiceService { + + @Override + public String synthesis(String message, String per) { + throw BusinessExceptionAssertEnum.THIRD_SERVICE_CALL_EXCEPTION.exception("功能暂未实现"); + } + /** * 华为语音识别配置 */ @@ -28,12 +34,6 @@ public class HuaweiVoiceServiceImpl implements IVoiceService { private final String region = "cn-north-4"; private final String projectId = "0aada8176180f28c2f34c0196f5394e8"; - - @Override - public String synthesis(String message, String per) { - throw BusinessExceptionAssertEnum.THIRD_SERVICE_CALL_EXCEPTION.exception("功能暂未实现"); - } - @Override public VoiceRecognitionResult voiceRecognition(MultipartFile file, String lang) { String filePath;