|
|
@ -27,17 +27,18 @@ |
|
|
|
<artifactId>spring-boot-starter-web</artifactId> |
|
|
|
<artifactId>spring-boot-starter-web</artifactId> |
|
|
|
</dependency> |
|
|
|
</dependency> |
|
|
|
|
|
|
|
|
|
|
|
<!-- 使用nacos注册中心 --> |
|
|
|
<!-- 使用nacos注册中心 |
|
|
|
<dependency> |
|
|
|
<dependency> |
|
|
|
<groupId>com.alibaba.cloud</groupId> |
|
|
|
<groupId>com.alibaba.cloud</groupId> |
|
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId> |
|
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId> |
|
|
|
</dependency> |
|
|
|
</dependency> |
|
|
|
|
|
|
|
--> |
|
|
|
|
|
|
|
|
|
|
|
<!-- 使用eureka注册中心 --> |
|
|
|
<!-- 使用eureka注册中心 --> |
|
|
|
<!--<dependency> |
|
|
|
<dependency> |
|
|
|
<groupId>org.springframework.cloud</groupId> |
|
|
|
<groupId>org.springframework.cloud</groupId> |
|
|
|
<artifactId>spring-cloud-starter-netflix-eureka-client</artifactId> |
|
|
|
<artifactId>spring-cloud-starter-netflix-eureka-client</artifactId> |
|
|
|
</dependency>--> |
|
|
|
</dependency> |
|
|
|
|
|
|
|
|
|
|
|
<dependency> |
|
|
|
<dependency> |
|
|
|
<groupId>org.springframework.cloud</groupId> |
|
|
|
<groupId>org.springframework.cloud</groupId> |
|
|
|