package com.sptg.config;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.config.server.EnableConfigServer;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * title: ConfigApplication
 * package: com.sptg.config
 * description: 配置中心启动类
 *                  
 *            
 */
@Slf4j
@EnableConfigServer
@SpringBootApplication
@EnableEurekaClient
public class ConfigApplication {

    public static void main(String[] args) {
        SpringApplication.run(ConfigApplication.class, args);
        log.warn("启动完成");
    }

}
