package com.zd.netty;

import com.alibaba.nacos.spring.context.annotation.config.NacosPropertySource;
import com.zd.common.security.annotation.EnableCustomConfig;
import com.zd.common.security.annotation.EnableRyFeignClients;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

@EnableCustomConfig
@EnableRyFeignClients
@SpringBootApplication
@EnableScheduling
@NacosPropertySource(dataId = "zd-netty", autoRefreshed = true)
@Slf4j
public class ZdNettyApplication {
    public static void main(String[] args) {
        SpringApplication.run(ZdNettyApplication.class, args);
        log.info("(♥◠‿◠)ﾉﾞ  netty模块启动成功   ლ(´ڡ`ლ)ﾞ");
    }
}
