package com.zy.acs.fake;
|
|
import org.mybatis.spring.annotation.MapperScan;
|
import org.springframework.boot.SpringApplication;
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
import org.springframework.context.annotation.ComponentScan;
|
import org.springframework.context.annotation.FilterType;
|
import org.springframework.context.annotation.Import;
|
|
@MapperScan("com.zy.**.mapper")
|
@ComponentScan(value = "com.zy.acs.common.config")
|
@ComponentScan(
|
basePackages ="com.zy.acs.manager.system.**",
|
excludeFilters = @ComponentScan.Filter(
|
type = FilterType.ASSIGNABLE_TYPE,
|
classes = {
|
// com.zy.acs.manager.system.service.UserService.class,
|
com.zy.acs.manager.system.controller.AuthController.class
|
}
|
)
|
)
|
@Import(value = {
|
com.zy.acs.manager.common.config.ConfigProperties.class,
|
org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder.class
|
})
|
@ComponentScan(basePackages = "com.zy.acs.manager.manager.**")
|
@SpringBootApplication(exclude = {org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration.class})
|
public class FakeBoot {
|
|
public static void main(String[] args) {
|
SpringApplication.run(FakeBoot.class, args);
|
}
|
|
}
|