Sfoglia il codice sorgente

pref 数据库redis 配置

lenovodn 2 anni fa
parent
commit
513bf76012

+ 4 - 4
jeecg-module-system/jeecg-system-start/src/main/resources/application-dev.yml

@@ -131,9 +131,9 @@ spring:
         connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
       datasource:
         master:
-          url: jdbc:mysql://127.0.0.1:3306/medical?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
+          url: jdbc:mysql://49.235.245.113:3306/medical?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
           username: root
-          password: Ld@3838029
+          password: G@7NYpxIn%&*sxLOn%l
           driver-class-name: com.mysql.cj.jdbc.Driver
           # 多数据源配置
           #multi-datasource1:
@@ -144,9 +144,9 @@ spring:
   #redis 配置
   redis:
     database: 9
-    host: 127.0.0.1
+    host: 49.235.245.113
     port: 6379
-    password: ''
+    password: 'v!54GWsBB8yJ'
 #mybatis plus 设置
 mybatis-plus:
   mapper-locations: classpath*:org/jeecg/modules/**/xml/*Mapper.xml