武汉8号线合并test 代码调整
This commit is contained in:
parent
894ce10b40
commit
26d8683e76
@ -1,3 +1,4 @@
|
|||||||
|
/*
|
||||||
package club.joylink.rtss.services.voice.huawei;
|
package club.joylink.rtss.services.voice.huawei;
|
||||||
|
|
||||||
import club.joylink.rtss.exception.BusinessExceptionAssertEnum;
|
import club.joylink.rtss.exception.BusinessExceptionAssertEnum;
|
||||||
@ -32,9 +33,11 @@ public class HuaweiVoiceServiceImpl implements IVoiceService {
|
|||||||
return this.synthesis(message, "0");
|
return this.synthesis(message, "0");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* 华为语音识别配置
|
|
||||||
*/
|
*/
|
||||||
|
/**
|
||||||
|
* 华为语音识别配置
|
||||||
|
*//*
|
||||||
|
|
||||||
private final String ak = "YDUXTXRYGAHGPHAIXZCU";
|
private final String ak = "YDUXTXRYGAHGPHAIXZCU";
|
||||||
private final String sk = "Kcbm3sTDCYEou8kGeAhKxfBkgWybIn6IjJyGBX3p";
|
private final String sk = "Kcbm3sTDCYEou8kGeAhKxfBkgWybIn6IjJyGBX3p";
|
||||||
private final String region = "cn-north-4";
|
private final String region = "cn-north-4";
|
||||||
@ -72,3 +75,4 @@ public class HuaweiVoiceServiceImpl implements IVoiceService {
|
|||||||
return voiceRecognition(bytes, filePath);
|
return voiceRecognition(bytes, filePath);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
@ -1432,9 +1432,7 @@ public class Operation {
|
|||||||
* 发送会话消息(语音输入)Base64格式
|
* 发送会话消息(语音输入)Base64格式
|
||||||
*/
|
*/
|
||||||
Conversation_Chat_Audio_Base64(new Label[]{Label.CLIENT}),
|
Conversation_Chat_Audio_Base64(new Label[]{Label.CLIENT}),
|
||||||
;
|
|
||||||
|
|
||||||
REGULAR_TRAIN_LINE_STATION_UPDATE_LOAD(new Label[]{Label.CLIENT}),
|
|
||||||
/**
|
/**
|
||||||
* 紧急应急语音命令
|
* 紧急应急语音命令
|
||||||
*/
|
*/
|
||||||
|
@ -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.SimulationDataRepository;
|
||||||
import club.joylink.rtss.simulation.cbtc.data.map.MapElement;
|
import club.joylink.rtss.simulation.cbtc.data.map.MapElement;
|
||||||
import club.joylink.rtss.simulation.cbtc.data.map.Switch;
|
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.PinyinHelper;
|
||||||
import net.sourceforge.pinyin4j.format.HanyuPinyinCaseType;
|
import net.sourceforge.pinyin4j.format.HanyuPinyinCaseType;
|
||||||
import net.sourceforge.pinyin4j.format.HanyuPinyinOutputFormat;
|
import net.sourceforge.pinyin4j.format.HanyuPinyinOutputFormat;
|
||||||
|
@ -180,7 +180,7 @@ public class MetroSimulationWorkServiceImpl implements SimulationWorkService {
|
|||||||
powerSupplyService.addJobs(simulation);
|
powerSupplyService.addJobs(simulation);
|
||||||
iVirtualRealityPslService.addJobs(simulation);
|
iVirtualRealityPslService.addJobs(simulation);
|
||||||
iscsMessageCollectAndDispatcher.addJob(simulation);
|
iscsMessageCollectAndDispatcher.addJob(simulation);
|
||||||
iscsLogicLoop.addJob(simulation);
|
iscsLogicLoop.addJobs(simulation);
|
||||||
pisLogicLoop.addJobs(simulation);
|
pisLogicLoop.addJobs(simulation);
|
||||||
atpLogicLoop.addJobs(simulation);
|
atpLogicLoop.addJobs(simulation);
|
||||||
atsLogicLoop.addJobs(simulation);
|
atsLogicLoop.addJobs(simulation);
|
||||||
|
@ -50,7 +50,7 @@ spring:
|
|||||||
connection-timeout: 30000 # 等待连接的超时时间,单位ms
|
connection-timeout: 30000 # 等待连接的超时时间,单位ms
|
||||||
mybatis:
|
mybatis:
|
||||||
mapper-locations: classpath:mybatis/mapper/**/*.xml
|
mapper-locations: classpath:mybatis/mapper/**/*.xml
|
||||||
type-aliases-package: club.joylink.rtss.entity
|
# type-aliases-package: club.joylink.rtss.entity
|
||||||
configuration:
|
configuration:
|
||||||
map-underscore-to-camel-case: true
|
map-underscore-to-camel-case: true
|
||||||
pagehelper:
|
pagehelper:
|
||||||
@ -90,9 +90,9 @@ tencent-cloud:
|
|||||||
spring:
|
spring:
|
||||||
profiles: dev
|
profiles: dev
|
||||||
datasource:
|
datasource:
|
||||||
url: jdbc:mysql://localhost:3306/joylink?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
|
url: jdbc:mysql://192.168.3.233:3306/joylink?useSSL=false&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
|
||||||
username: root
|
username: root
|
||||||
password: root
|
password: joylink0503
|
||||||
|
|
||||||
tencent-cloud:
|
tencent-cloud:
|
||||||
allow-send: false
|
allow-send: false
|
||||||
@ -209,7 +209,7 @@ minio:
|
|||||||
replaceHttps: false
|
replaceHttps: false
|
||||||
|
|
||||||
common:
|
common:
|
||||||
env: test
|
env: prd
|
||||||
|
|
||||||
---
|
---
|
||||||
spring:
|
spring:
|
||||||
@ -227,7 +227,8 @@ logging:
|
|||||||
path: /usr/local/joylink/logs/rtss
|
path: /usr/local/joylink/logs/rtss
|
||||||
level:
|
level:
|
||||||
club.joylink.rtss: INFO
|
club.joylink.rtss: INFO
|
||||||
|
tencent-cloud:
|
||||||
|
allow-send: false
|
||||||
minio:
|
minio:
|
||||||
endpoint: https://joylink.club
|
endpoint: https://joylink.club
|
||||||
accessKey: jladmin
|
accessKey: jladmin
|
||||||
|
Loading…
Reference in New Issue
Block a user