武汉8号线合并test 代码调整

This commit is contained in:
tiger_zhou 2022-11-10 13:24:31 +08:00
parent 894ce10b40
commit 26d8683e76
5 changed files with 17 additions and 14 deletions

View File

@ -1,3 +1,4 @@
/*
package club.joylink.rtss.services.voice.huawei;
import club.joylink.rtss.exception.BusinessExceptionAssertEnum;
@ -32,9 +33,11 @@ public class HuaweiVoiceServiceImpl implements IVoiceService {
return this.synthesis(message, "0");
}
/**
*/
/**
* 华为语音识别配置
*/
*//*
private final String ak = "YDUXTXRYGAHGPHAIXZCU";
private final String sk = "Kcbm3sTDCYEou8kGeAhKxfBkgWybIn6IjJyGBX3p";
private final String region = "cn-north-4";
@ -72,3 +75,4 @@ public class HuaweiVoiceServiceImpl implements IVoiceService {
return voiceRecognition(bytes, filePath);
}
}
*/

View File

@ -1432,9 +1432,7 @@ public class Operation {
* 发送会话消息语音输入Base64格式
*/
Conversation_Chat_Audio_Base64(new Label[]{Label.CLIENT}),
;
REGULAR_TRAIN_LINE_STATION_UPDATE_LOAD(new Label[]{Label.CLIENT}),
/**
* 紧急应急语音命令
*/

View File

@ -8,7 +8,7 @@ import club.joylink.rtss.simulation.cbtc.conversation.SimulationVoiceHandler;
import club.joylink.rtss.simulation.cbtc.data.SimulationDataRepository;
import club.joylink.rtss.simulation.cbtc.data.map.MapElement;
import club.joylink.rtss.simulation.cbtc.data.map.Switch;
import club.joylink.rtss.vo.client.VoiceRecognitionResult;
import club.joylink.rtss.vo.client.voice.VoiceRecognitionResult;
import net.sourceforge.pinyin4j.PinyinHelper;
import net.sourceforge.pinyin4j.format.HanyuPinyinCaseType;
import net.sourceforge.pinyin4j.format.HanyuPinyinOutputFormat;

View File

@ -180,7 +180,7 @@ public class MetroSimulationWorkServiceImpl implements SimulationWorkService {
powerSupplyService.addJobs(simulation);
iVirtualRealityPslService.addJobs(simulation);
iscsMessageCollectAndDispatcher.addJob(simulation);
iscsLogicLoop.addJob(simulation);
iscsLogicLoop.addJobs(simulation);
pisLogicLoop.addJobs(simulation);
atpLogicLoop.addJobs(simulation);
atsLogicLoop.addJobs(simulation);

View File

@ -50,7 +50,7 @@ spring:
connection-timeout: 30000 # 等待连接的超时时间单位ms
mybatis:
mapper-locations: classpath:mybatis/mapper/**/*.xml
type-aliases-package: club.joylink.rtss.entity
# type-aliases-package: club.joylink.rtss.entity
configuration:
map-underscore-to-camel-case: true
pagehelper:
@ -88,11 +88,11 @@ tencent-cloud:
# 环境连接配置 start
---
spring:
profiles: dev
datasource:
url: jdbc:mysql://localhost:3306/joylink?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
username: root
password: root
profiles: dev
datasource:
url: jdbc:mysql://192.168.3.233:3306/joylink?useSSL=false&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
username: root
password: joylink0503
tencent-cloud:
allow-send: false
@ -209,7 +209,7 @@ minio:
replaceHttps: false
common:
env: test
env: prd
---
spring:
@ -227,7 +227,8 @@ logging:
path: /usr/local/joylink/logs/rtss
level:
club.joylink.rtss: INFO
tencent-cloud:
allow-send: false
minio:
endpoint: https://joylink.club
accessKey: jladmin