添加SpringCloud Zuul网关支持

This commit is contained in:
macro
2019-10-18 14:16:40 +08:00
parent 02a2509530
commit fe96c7aab0
7 changed files with 126 additions and 1 deletions

View File

@@ -18,6 +18,7 @@ eureka:
fetch-registry: true
service-url:
defaultZone: http://localhost:8001/eureka/
registry-fetch-interval-seconds: 10
management: #开启SpringBoot Admin的监控
endpoints:
web:

View File

@@ -4,7 +4,7 @@ spring:
application:
name: mall-admin
server:
port: 8080
port: 8180
mybatis:
mapper-locations:
- classpath:dao/*.xml