package shop.alien.job;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ComponentScan({"shop.alien.job.*", "shop.alien.util.*","shop.alien.config.redis", "shop.alien.config.databases",})
@MapperScan({"shop.alien.mapper"})
@EnableFeignClients(basePackages = {"shop.alien.job.feign"})
public class AlienJobApplication {

    public static void main(String[] args) {
        System.setProperty("nacos.logging.default.config.enabled", "false");
        SpringApplication.run(AlienJobApplication.class, args);
    }

}
