提交 8bda5ebb 编写于 作者: Q qinyingjie

fix:添加eureka

上级 cc79c078
...@@ -2,6 +2,7 @@ package com.kwan.springcloud; ...@@ -2,6 +2,7 @@ package com.kwan.springcloud;
import org.springframework.boot.SpringApplication; import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;
@EnableEurekaServer @EnableEurekaServer
@SpringBootApplication @SpringBootApplication
......
#端口号 #端口号
server: server:
port: 8761 port: 8766
spring: spring:
application: application:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册