package com.lanshiqin.serviceregistry;

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

/**
 * 服务注册中心
 */
@SpringBootApplication
@EnableEurekaServer	// 启用Eureka服务
public class ServiceRegistryApplication {

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

@@ -243,16 +243,51 @@
  %E6%9C%8D%E5%8A%A1%E6%B3%A8%E5%86%8C%E4%B8%AD%E5%BF%83%0A
+ * @ EnableEurekaServer %E5%90%AF%E7%94%A8Eureka%E6%9C%8D%E5%8A%A1%0A
  */%0A@Spr
@@ -328,22 +328,8 @@
 rver
-%09// %E5%90%AF%E7%94%A8Eureka%E6%9C%8D%E5%8A%A1
 %0Apub

Update ServiceRegistryApplication.java