package com.seer.teach.netty.im;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;


/**
 * @author Captain
 */
@SpringBootApplication(scanBasePackages = {"com.seer.teach"},exclude = {DataSourceAutoConfiguration.class})
@EnableFeignClients("com.seer.teach")
@EnableDiscoveryClient
@EnableScheduling
@Slf4j
public class NettyImApplicationBootStrap {
    public static void main(String[] args)  {
        SpringApplication.run(NettyImApplicationBootStrap.class, args);
        log.info("===========================================");
        log.info("===NettyImApplicationBootStrap启动成功=====");
        log.info("==========================================");
    }
}