You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
# ============================================
|
|
|
|
|
# 语音数据同步服务 - 外部配置文件
|
|
|
|
|
# ============================================
|
|
|
|
|
# 【说明】
|
|
|
|
|
# 1. 此文件用于部署时覆盖默认配置,无需重新打包 JAR
|
|
|
|
|
# 2. 将此文件放在 JAR 包同级目录的 config/ 文件夹下
|
|
|
|
|
# 3. 修改此文件后重启服务即可生效
|
|
|
|
|
# 4. 每个录音盒的账号密码在 mid_voice_device_config 表中配置
|
|
|
|
|
# ============================================
|
|
|
|
|
|
|
|
|
|
spring:
|
|
|
|
|
# ==================== 数据库配置 ====================
|
|
|
|
|
datasource:
|
|
|
|
|
driver-class-name: com.kingbase8.Driver
|
|
|
|
|
url: jdbc:kingbase8://127.0.0.1:54321/kingbase?currentSchema=mid_voice&clientEncoding=utf8
|
|
|
|
|
username: dcms_dev
|
|
|
|
|
password: your_password_here
|
|
|
|
|
|
|
|
|
|
# ==================== FTP同步配置 ====================
|
|
|
|
|
ftp-sync:
|
|
|
|
|
# 临时文件存储路径
|
|
|
|
|
temp-path: ./vaa-ftp-temp
|
|
|
|
|
|
|
|
|
|
# 临时文件保留天数
|
|
|
|
|
retain-days: 10
|
|
|
|
|
|
|
|
|
|
# txt文件编码
|
|
|
|
|
txt-encoding: GBK
|
|
|
|
|
|
|
|
|
|
# 字段分隔符
|
|
|
|
|
field-separator: "※"
|
|
|
|
|
|
|
|
|
|
# 地市配置(单地市部署,只配当前地市)
|
|
|
|
|
cities:
|
|
|
|
|
- city-code: "340100"
|
|
|
|
|
city-name: "huainan"
|
|
|
|
|
ftp-host: 10.126.129.7
|
|
|
|
|
ftp-port: 9979
|
|
|
|
|
ftp-username: yyfile
|
|
|
|
|
ftp-password: yyfile
|
|
|
|
|
ftp-source-dir: /voice_record/
|
|
|
|
|
ftp-record-dir: /rec/
|
|
|
|
|
ftp-archive-dir: /processed/
|
|
|
|
|
phone-area-code: "0000"
|
|
|
|
|
|
|
|
|
|
# ==================== 服务端口 ====================
|
|
|
|
|
server:
|
|
|
|
|
port: 8088
|
|
|
|
|
|
|
|
|
|
# ==================== OSS文件存储服务 ====================
|
|
|
|
|
oss:
|
|
|
|
|
base-url: http://53.1.211.7/apiOss
|
|
|
|
|
upload-path: voice/record/
|
|
|
|
|
|
|
|
|
|
# ==================== VAA同步配置 ====================
|
|
|
|
|
vaa-sync:
|
|
|
|
|
download-path: ./vaa-recordings
|
|
|
|
|
retain-days: 10
|
|
|
|
|
|
|
|
|
|
# ==================== 日志配置 ====================
|
|
|
|
|
logging:
|
|
|
|
|
file:
|
|
|
|
|
name: logs/app.log
|
|
|
|
|
level:
|
|
|
|
|
root: INFO
|
|
|
|
|
com.threecloud.dataserviceyy: DEBUG
|