Explorar o código

修改为本地库

唐佳琦 %!s(int64=2) %!d(string=hai) anos
pai
achega
d5e74bc9c5

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

@@ -130,10 +130,10 @@ spring:
         connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
       datasource:
         master:
-          url: jdbc:postgresql://www.tangjia7.com:15432/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
-          username: postgres
-          password: demo123
-          driver-class-name: org.postgresql.Driver
+          url: jdbc:mysql://localhost:3306/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
+          username: root
+          password: q19870212
+          driver-class-name: com.mysql.jdbc.Driver
           # 多数据源配置
           #multi-datasource1:
           #url: jdbc:mysql://localhost:3306/jeecg-boot2?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
@@ -143,8 +143,8 @@ spring:
   #redis 配置
   redis:
     database: 0
-    host: www.tangjia7.com
-    port: 16379
+    host: localhost
+    port: 6379
     password: ''
 #mybatis plus 设置
 mybatis-plus:
@@ -226,7 +226,7 @@ jeecg:
     logRetentionDays: 30
   #分布式锁配置
   redisson:
-    address: www.tangjia7.com:16379
+    address: localhost:6379
     password:
     type: STANDALONE
     enabled: true