#
luxiaotao1123
2024-12-13 d3cbf712daa839fd33ea23e435dc56d7cf5e8dfe
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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);
    }
 
}