Newer
Older
newfiber-termite / newfiber-termites / newfiber-termites-package / src / main / java / com / newfiber / termite / NewfiberTermiteApplication.java
@xiongkai xiongkai on 9 Oct 1 KB 统计优化
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.system.api"})
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("(♥◠‿◠)ノ゙  白蚁防治模块启动成功   ლ(´ڡ`ლ)゙  ");
    }
}