引入springcloudGateway

This commit is contained in:
Richie 2024-01-21 18:18:09 +08:00
parent 53558cc55e
commit 3bc02f0f32
2 changed files with 7 additions and 2 deletions

View File

@ -37,6 +37,11 @@
<!-- <artifactId>spring-cloud-starter</artifactId>--> <!-- <artifactId>spring-cloud-starter</artifactId>-->
<!-- <version>4.0.0</version>--> <!-- <version>4.0.0</version>-->
<!-- </dependency>--> <!-- </dependency>-->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-loadbalancer</artifactId>
<version>4.0.0</version>
</dependency>
<dependency> <dependency>
<groupId>org.springframework.cloud</groupId> <groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-gateway</artifactId> <artifactId>spring-cloud-starter-gateway</artifactId>

View File

@ -9,8 +9,8 @@ spring:
nacos: nacos:
discovery: discovery:
server-addr: 127.0.0.1:8848 server-addr: 127.0.0.1:8848
username: nacos # username: nacos
password: nacos # password: nacos
gateway: gateway:
discovery: discovery:
locator: locator: