diff --git a/techhero-business-verification-local.yml b/techhero-business-verification-local.yml new file mode 100644 index 0000000..5f2a9e3 --- /dev/null +++ b/techhero-business-verification-local.yml @@ -0,0 +1,72 @@ +spring: + redis: + database: 10 + host: test-env + port: 6379 + password: techhero + timeout: 0 + pool: + max-active: 8 + max-wait: -1 + max-idle: 8 + min-idle: 0 + datasource: + druid: + stat-view-servlet: + loginUsername: root + loginPassword: root + initial-size: 1 + max-active: 20 + min-idle: 3 + max-wait: 60000 + time-between-eviction-runs-millis: 60000 + validation-query: select 1 from dual + filters: stat,slf4j + dynamic: + primary: exam + datasource: + exam: + url: jdbc:mysql://dev-env:33060/verify_pro?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai + username: root + password: techhero + driver-class-name: com.mysql.cj.jdbc.Driver +# url: jdbc:oracle:thin:@119.96.87.17:1521:orcl +# username: sfrzv1 +# password: sfrzv1 +# driver-class-name: oracle.jdbc.OracleDriver + rabbitmq: + host: dev-env + port: 5672 + username: techhero + password: techhero + virtual-host: /framework + listener: + simple: + acknowledge-mode: manual # 消息确认方式,其有三种配置方式,分别是none、manual(手动ack) 和auto(自动ack) 默认auto + publisher-confirms: true #确认消息已发送到交换机(Exchange) + publisher-returns: true #确认消息已发送到队列(Queue) + # 交换机 + exchanges: + - name: verification.runStatusUpdate.exchange + type: TOPIC + - name: verification.dlx.dead.runStatusUpdate.exchange + type: TOPIC + # 队列 + queues: + - name: verification.runStatusUpdate.queue + routing-key: verification.runStatusUpdate.key + exchange-name: verification.runStatusUpdate.exchange + + - name: verification.dlx.runStatusUpdate.queue + routing-key: verification.dlx.runStatusUpdate.key + exchange-name: verification.dlx.dead.runStatusUpdate.exchange + + +upload: + picture: + basePathWindows: D:\\tem2021\\ #本地测试使用的Windows入场照片保存位置 + basePathLinux: /data/picture/ #服务器上的入场照片保存位置 + +# ftp文件下载地址 +ftp: + path: ftp://119.96.178.242/