|
|
@ -14,18 +14,18 @@ import org.springframework.scheduling.annotation.EnableAsync; |
|
|
|
/** |
|
|
|
* @author 逗 |
|
|
|
*/ |
|
|
|
@MapperScan(basePackages = {"com.ccsens.signin.persist.*"}) |
|
|
|
@ServletComponentScan |
|
|
|
@EnableAsync |
|
|
|
//开启断路器功能
|
|
|
|
@EnableCircuitBreaker |
|
|
|
@EnableFeignClients(basePackages = "com.ccsens.cloudutil.feign") |
|
|
|
@SpringBootApplication |
|
|
|
@ComponentScan(basePackages = "com.ccsens", excludeFilters = { @ComponentScan.Filter(type= FilterType.ASSIGNABLE_TYPE, value = RibbonConfiguration.class)}) |
|
|
|
public class WechatutilApplication { |
|
|
|
|
|
|
|
public static void main(String[] args) { |
|
|
|
SpringApplication.run(WechatutilApplication.class, args); |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
//@MapperScan(basePackages = {"com.ccsens.signin.persist.*"})
|
|
|
|
//@ServletComponentScan
|
|
|
|
//@EnableAsync
|
|
|
|
////开启断路器功能
|
|
|
|
//@EnableCircuitBreaker
|
|
|
|
//@EnableFeignClients(basePackages = "com.ccsens.cloudutil.feign")
|
|
|
|
//@SpringBootApplication
|
|
|
|
//@ComponentScan(basePackages = "com.ccsens", excludeFilters = { @ComponentScan.Filter(type= FilterType.ASSIGNABLE_TYPE, value = RibbonConfiguration.class)})
|
|
|
|
//public class WechatutilApplication {
|
|
|
|
//
|
|
|
|
// public static void main(String[] args) {
|
|
|
|
// SpringApplication.run(WechatutilApplication.class, args);
|
|
|
|
// }
|
|
|
|
//
|
|
|
|
//}
|
|
|
|