Commit fb8274e9 authored by ykb's avatar ykb
Browse files

添加开启eureka服务配置

parent fdcd70ce
......@@ -6,7 +6,6 @@ import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.web.WebApplicationInitializer;
@EnableEurekaClient
@SpringBootApplication
......
......@@ -34,8 +34,10 @@ spring.devtools.restart.exclude=templates/**
file.previewURL=http://localhost:8012/onlinePreview
spring.application.name=console-service
#eureka-client
#是否开启eureka服务
eureka.client.enabled=false
spring.application.name=console-service
eureka.client.serviceUrl.defaultZone=http://localhost:8761/eureka/
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment