Selaa lähdekoodia

:white_check_mark:服务器迁移到111.229.112.155配置修改

Twelve615 1 vuosi sitten
vanhempi
commit
3f6534a16b

+ 8 - 8
airport/jeecg-boot-module-system/src/main/resources/application-prod.yml

@@ -202,9 +202,9 @@ spring:
         connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
       datasource:
         master:
-          url: jdbc:mysql://120.79.86.50:3306/airport?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
-          username: root
-          password: b610a50f4cc1971e
+          url: jdbc:mysql://127.0.0.1:3306/airport?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
+          username: airport
+          password: kJe2Lz8TpcWaTf2h
           driver-class-name: com.mysql.cj.jdbc.Driver
           # 多数据源配置
   #        multi-datasource1:
@@ -214,8 +214,8 @@ spring:
   #          driver-class-name: com.mysql.cj.jdbc.Driver
   #redis 配置
   redis:
-    database: 6
-    host: 120.79.86.50
+    database: 0
+    host: 127.0.0.1
     lettuce:
       pool:
         max-active: 8   #最大连接数据库连接数,设 -1 为没有限制
@@ -223,7 +223,7 @@ spring:
         max-wait: -1ms  #最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。
         min-idle: 0     #最小等待连接中的数量,设 0 为没有限制
       shutdown-timeout: 100ms
-    password: 'hdl2022'
+    password: 'AC0irmQIQOK2!'
     port: 6379
 #  redis:
 #    database: 0
@@ -267,11 +267,11 @@ jeecg:
   uploadType: local
   path:
     #文件上传根目录 设置
-    upload: /usr/java/AJeecgBootFiles
+    upload: ./AJeecgBootFiles
     temp: /tempFile
     #    upload: D:\\AJeecgBootFiles
     #webapp文件路径
-    webapp: /usr/java/AJeecgBootFiles
+    webapp: ./AJeecgBootFiles
   #    webapp: D:\\AJeecgBootFiles
   shiro:
     excludeUrls: /test/jeecgDemo/demo3,/test/jeecgDemo/redisDemo/**,/category/**,/visual/**,/map/**,/jmreport/bigscreen2/**

+ 1 - 1
airport/jeecg-boot-module-system/src/main/resources/logback-spring.xml

@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <configuration debug="false">
 	<!--定义日志文件的存储地址 -->
-	<property name="LOG_HOME" value="../logs" />
+	<property name="LOG_HOME" value="./logs" />
 
 	<!--<property name="COLOR_PATTERN" value="%black(%contextName-) %red(%d{yyyy-MM-dd HH:mm:ss}) %green([%thread]) %highlight(%-5level) %boldMagenta( %replace(%caller{1}){'\t|Caller.{1}0|\r\n', ''})- %gray(%msg%xEx%n)" />-->
 	<!-- 控制台输出 -->