Explorar o código

adm-server 配置中心切换nacos

yanguofeng %!s(int64=2) %!d(string=hai) anos
pai
achega
7a873dae3c
Modificáronse 1 ficheiros con 11 adicións e 0 borrados
  1. 11 0
      adm-business/adm-server/pom.xml

+ 11 - 0
adm-business/adm-server/pom.xml

@@ -11,10 +11,21 @@
     <artifactId>adm-server</artifactId>
 
     <dependencies>
+        <dependency>
+            <groupId>com.alibaba.cloud</groupId>
+            <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
+            <version>2.1.4.RELEASE</version>
+        </dependency>
         <!-- 配置中心(包含注册中心) -->
         <dependency>
             <groupId>com.persagy</groupId>
             <artifactId>integrated-config-client</artifactId>
+            <exclusions>
+                <exclusion>
+                    <groupId>org.springframework.cloud</groupId>
+                    <artifactId>spring-cloud-config-client</artifactId>
+                </exclusion>
+            </exclusions>
         </dependency>
         <!-- 项目启动 -->
         <dependency>