package com.zd.bottle;

import com.alibaba.nacos.spring.context.annotation.config.NacosPropertySource;
import com.zd.common.core.constant.Constants;
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;

/**
 * Application
 *
 * @author hanson
 * @since  2022/9/8
 */
@EnableCustomConfig
@EnableRyFeignClients
@SpringBootApplication(scanBasePackages = Constants.BASE_PACKAGE)
@EnableScheduling
@NacosPropertySource(dataId = "zd-bottle", autoRefreshed = true)
@Slf4j
public class ZdBottleApplication {
    public static void main(String[] args) {
        SpringApplication.run(ZdBottleApplication.class, args);
        log.info("(♥◠‿◠)ﾉﾞ  气瓶模块启动成功   ლ(´ڡ`ლ)ﾞ");
    }
}
