From 3dadd51018b621bbb5b3abcde94df6d8fa9fbf6b Mon Sep 17 00:00:00 2001 From: ‘liusuyi’ <1951119284@qq.com> Date: 星期三, 23 八月 2023 14:36:34 +0800 Subject: [PATCH] 重构minio工具类 配置文件区分生产环境和开发环境 --- src/main/resources/application.yml | 41 +++-------------------------------------- 1 files changed, 3 insertions(+), 38 deletions(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 2e6ddc4..fadf7d2 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -1,39 +1,4 @@ spring: - netty: - udp: - port: 40000 - enabled: true - tcp: - host: 112.98.126.2 - port: 1200 - enabled: true - mqtt: - host: tcp://192.168.1.15:1883 - clientId: c3 - username: admin - password: xzx12345 - topic: tube - timeout: 100 - keepalive: 60 - enabled: true - stealelec: - url: http://iot.zhdk.net:8090/Warning/GetWarning?userName=cy4oil - datasource: - driver-class-name: org.postgresql.Driver - url: jdbc:postgresql://111.40.46.199:15432/ry-vue?stringtype=unspecified - username: postgres - password: Yykj.2021 -# url: jdbc:postgresql://192.168.1.15:5432/ry-vue?stringtype=unspecified -# username: postgres -# password: postgres -mybatis: - typeAliasesPackage: com.ard.alarm.**.domain - mapperLocations: classpath:/mapper/*.xml -# minio閰嶇疆 -minio: - endpoint: http://192.168.1.15:9001 - accessKey: admin - secretKey: xzx12345 -logging: - level: - com.ard: info \ No newline at end of file + profiles: + active: prod + -- Gitblit v1.9.3