添加eureka注册中心支持
This commit is contained in:
@@ -2,11 +2,13 @@ package com.macro.mall;
|
||||
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
|
||||
|
||||
/**
|
||||
* 应用启动入口
|
||||
* Created by macro on 2018/4/26.
|
||||
*/
|
||||
@EnableDiscoveryClient
|
||||
@SpringBootApplication
|
||||
public class MallAdminApplication {
|
||||
public static void main(String[] args) {
|
||||
|
||||
Reference in New Issue
Block a user