소스 검색

修改配置文件

DL 2 일 전
부모
커밋
dfb397f7c4
2개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. 3 3
      src/main/resources/application-dev.yml
  2. 2 2
      src/main/resources/application-prod.yml

+ 3 - 3
src/main/resources/application-dev.yml

@@ -23,9 +23,9 @@ spring:
     type: com.alibaba.druid.pool.DruidDataSource
     druid:
       driver-class-name: com.mysql.cj.jdbc.Driver
-      url: jdbc:mysql://192.168.1.18:5555/ct?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&allowPublicKeyRetrieval=true&useSSL=false&serverTimezone=GMT%2B8
+      url: jdbc:mysql://127.0.0.1:5506/ct?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&allowPublicKeyRetrieval=true&useSSL=false&serverTimezone=GMT%2B8
       username: root
-      password: Mysql@.2020
+      password: root
 #      connection-properties: config.decrypt=true;config.decrypt.key=${publicKey}
 
       #      url: jdbc:mysql://localhost:54030/kjb?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&allowPublicKeyRetrieval=true&useSSL=false&serverTimezone=GMT%2B8
@@ -41,7 +41,7 @@ server:
   servlet:
     session:
       timeout: 600
-  port: 8086
+  port: 8088
   address: 0.0.0.0
 #
 #anti:

+ 2 - 2
src/main/resources/application-prod.yml

@@ -23,7 +23,7 @@ spring:
     type: com.alibaba.druid.pool.DruidDataSource
     druid:
       driver-class-name: com.mysql.cj.jdbc.Driver
-      url: jdbc:mysql://localhost:3306/ct?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&allowPublicKeyRetrieval=true&useSSL=false&serverTimezone=GMT%2B8
+      url: jdbc:mysql://localhost:54034/ct?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&allowPublicKeyRetrieval=true&useSSL=false&serverTimezone=GMT%2B8
       username: root
       password: Z04agHTieMz3lrvqdyHZaOgDrBS2kvKSCSLDavQL3VmoXTf7+VTamagPHnX9+q2nT1fYJd0T0mivyDiQ0YXHUg==
       connection-properties: config.decrypt=true;config.decrypt.key=${publicKey}
@@ -41,7 +41,7 @@ server:
   servlet:
     session:
       timeout: 600
-  port: 8086
+  port: 8088
   address: 0.0.0.0
 #
 #anti: