区分正式与测试配置修改
This commit is contained in:
@ -205,6 +205,9 @@
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
<version>2.2.12.RELEASE</version>
|
||||
<configuration>
|
||||
<includeSystemScope>true</includeSystemScope>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
|
||||
@ -117,7 +117,18 @@ public class MqttConfigUtil {
|
||||
"+/device/67aa37e699e1e08f",
|
||||
"+/device/ea0ebfbfa1487bd2",
|
||||
"+/device/aa8a43d326dddb3f",
|
||||
"1/device/+"
|
||||
"+/device/82d40d7dbcfc884e",
|
||||
"+/device/34ee15e05a3133bc",
|
||||
"+/device/ee2508ba91664376",
|
||||
"+/device/48c18f2a756dcc28",
|
||||
"+/device/056d38ac91f61ffd",
|
||||
"+/device/60f2bbbc054bfa03",
|
||||
"+/device/50fdebcf6eb85a49",
|
||||
"+/device/227a752b9bfb6b02",
|
||||
"+/device/d60a05bcd086f160",
|
||||
"+/device/f3c813d5e3d7fd99",
|
||||
"+/device/cd6cb4a64b42bda5",
|
||||
"+/device/436de647bbf01b22"
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
@ -7,9 +7,9 @@ server:
|
||||
|
||||
#mqtt
|
||||
mqtt:
|
||||
url: tcp://1.95.170.86:1883
|
||||
url: tcp://1.95.131.171:1883
|
||||
userName: admin
|
||||
passWord: zzkj688737
|
||||
passWord: zzkj@688737
|
||||
timeout: 5000
|
||||
keepAlive: 60
|
||||
|
||||
|
||||
@ -7,9 +7,9 @@ server:
|
||||
|
||||
#mqtt
|
||||
mqtt:
|
||||
url: tcp://1.95.131.171:1883
|
||||
url: tcp://123.60.190.77:1883 # hz线上环境MQTT
|
||||
userName: admin
|
||||
passWord: zzkj@688737
|
||||
passWord: public
|
||||
timeout: 5000
|
||||
keepAlive: 60
|
||||
|
||||
@ -58,7 +58,7 @@ spring:
|
||||
cloud:
|
||||
nacos:
|
||||
discovery:
|
||||
server-addr: 127.0.0.1:8848
|
||||
server-addr: 192.168.0.142:8848
|
||||
datasource:
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
url: jdbc:mysql://192.168.0.236:3306/file_center_db?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&allowMultiQueries=true
|
||||
|
||||
@ -9,9 +9,9 @@
|
||||
</appender>
|
||||
|
||||
<appender name="rollingFile" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<file>/home/hocloud/logs/file-center/file-center.log</file>
|
||||
<file>/www/zzkjcloud/logs/file-center/file-center.log</file>
|
||||
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
|
||||
<fileNamePattern>/home/hocloud/logs/file-center/file-center.%d{yyyy-MM-dd}-%i.log
|
||||
<fileNamePattern>/www/zzkjcloud/logs/file-center/file-center.%d{yyyy-MM-dd}-%i.log
|
||||
</fileNamePattern>
|
||||
<maxHistory>10</maxHistory>
|
||||
<!-- 除按日志记录之外,还配置了日志文件不能超过2M,若超过2M,日志文件会以索引0开始,
|
||||
|
||||
Reference in New Issue
Block a user