引入springcloudGateway
This commit is contained in:
parent
53558cc55e
commit
3bc02f0f32
|
|
@ -37,6 +37,11 @@
|
|||
<!-- <artifactId>spring-cloud-starter</artifactId>-->
|
||||
<!-- <version>4.0.0</version>-->
|
||||
<!-- </dependency>-->
|
||||
<dependency>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-loadbalancer</artifactId>
|
||||
<version>4.0.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-gateway</artifactId>
|
||||
|
|
|
|||
|
|
@ -9,8 +9,8 @@ spring:
|
|||
nacos:
|
||||
discovery:
|
||||
server-addr: 127.0.0.1:8848
|
||||
username: nacos
|
||||
password: nacos
|
||||
# username: nacos
|
||||
# password: nacos
|
||||
gateway:
|
||||
discovery:
|
||||
locator:
|
||||
|
|
|
|||
Loading…
Reference in New Issue