package com.newfiber.termite; import com.newfiber.common.security.annotation.EnableCustomConfig; import com.newfiber.common.security.annotation.EnableCustomFeignClients; import com.newfiber.common.swagger.annotation.EnableCustomSwagger2; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; /** * 业务模块 * * @author newfiber */ @EnableCustomConfig @EnableCustomSwagger2 @EnableCustomFeignClients @SpringBootApplication(scanBasePackages = {"com.newfiber.termite", "com.newfiber.business"}) public class NewfiberTermiteApplication { public static void main(String[] args){ // SpringApplication.run(NewfiberDrainageApplication.class, args); // System.out.println("(♥◠‿◠)ノ゙ 排水模块启动成功 ლ(´ڡ`ლ)゙ "); SpringApplication springApplication = new SpringApplication(NewfiberTermiteApplication.class); springApplication.setAllowBeanDefinitionOverriding(true); springApplication.run(args); System.out.println("(♥◠‿◠)ノ゙ 白蚁防治模块启动成功 ლ(´ڡ`ლ)゙ "); } }