package com.example;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

@SpringBootApplication
@EnableEurekaServer//启动初始化Eureka Server注册中心
public class SpringcloudEurekaDemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringcloudEurekaDemoApplication.class, args);
    }

}
