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.
77 lines
2.2 KiB
77 lines
2.2 KiB
# ============================================
|
|
# 语音数据同步服务 - 外部配置文件
|
|
# ============================================
|
|
# 【说明】
|
|
# 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_hereq
|
|
|
|
# ==================== FTP同步配置(单地市部署) ====================
|
|
# 【说明】每个地市单独部署本服务,配置只需要写一个地市
|
|
ftp-sync:
|
|
# 是否启用FTP同步
|
|
enabled: true
|
|
|
|
# 本地临时文件目录
|
|
temp-path: ./vaa-ftp-temp
|
|
|
|
# 文件保留天数
|
|
retain-days: 10
|
|
|
|
# txt文件编码(老系统用GBK)
|
|
txt-encoding: GBK
|
|
|
|
# 字段分隔符(老系统用※)
|
|
field-separator: "※"
|
|
|
|
# OSS 文件上传配置
|
|
oss:
|
|
base-url: http://53.1.211.7/apiOss
|
|
|
|
# 地市FTP配置(每个地市独立部署一份,只配当前地市即可)
|
|
cities:
|
|
# ===== 淮南 =====
|
|
- city-code: "340400"
|
|
city-name: "淮南"
|
|
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: /voice_record/processed/
|
|
phone-area-code: "0554"
|
|
|
|
# ===== 蚌埠 =====
|
|
- city-code: "340300"
|
|
city-name: "蚌埠"
|
|
ftp-host: 10.126.54.104
|
|
ftp-port: 9989
|
|
ftp-username: ftpadmin
|
|
ftp-password: A3833508q
|
|
ftp-source-dir: /voice_record/
|
|
ftp-record-dir: /rec/
|
|
ftp-archive-dir: /voice_record/processed/
|
|
phone-area-code: "0552"
|
|
|
|
# ==================== 服务端口 ====================
|
|
server:
|
|
port: 8088
|
|
|
|
# ==================== 日志配置 ====================
|
|
logging:
|
|
file:
|
|
name: logs/app.log
|
|
level:
|
|
root: INFO
|
|
com.threecloud.dataserviceyy: DEBUG
|
|
|