Browse Source

排除nacos修改yml文件

tl 11 tháng trước cách đây
mục cha
commit
e749992eed
2 tập tin đã thay đổi với 8 bổ sung2 xóa
  1. 6 0
      ipp-idp/pom.xml
  2. 2 2
      ipp-idp/src/main/resources/application.yml

+ 6 - 0
ipp-idp/pom.xml

@@ -44,6 +44,12 @@
             <groupId>com.syjy</groupId>
             <artifactId>calculation-spring-boot-starter</artifactId>
             <version>0.0.36</version>
+            <exclusions>
+                <exclusion>
+                    <groupId>com.alibaba.cloud</groupId>
+                    <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
+                </exclusion>
+            </exclusions>
         </dependency>
         <!--必备:安全模块-->
         <dependency>

+ 2 - 2
ipp-idp/src/main/resources/bootstrap.yml → ipp-idp/src/main/resources/application.yml

@@ -21,8 +21,8 @@ spring:
     type: com.zaxxer.hikari.HikariDataSource
     driver-class-name: com.mysql.cj.jdbc.Driver
     username: root
-    password: root
-    url: jdbc:mysql://192.168.1.23:3306/ipp-tl?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&allowMultiQueries=true&serverTimezone=Asia/Shanghai
+    password: '!QAZ2root'
+    url: jdbc:mysql://192.168.1.205:3306/ipp-tl?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&allowMultiQueries=true&serverTimezone=Asia/Shanghai
   # 模板引擎
   thymeleaf:
     prefix: classpath:/templates/