feature: 添加用户权限 Mapper 扫描包目录.

pull/161/head
chen.ma 3 years ago
parent 548884e247
commit c7c4a21abf

@ -4,8 +4,15 @@ import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@MapperScan("com.github.dynamic.threadpool.config.mapper")
@SpringBootApplication(scanBasePackages = "com.github.dynamic.threadpool")
@MapperScan(basePackages =
{
"com.github.dynamic.threadpool.config.mapper",
"com.github.dynamic.threadpool.auth.mapper"
})
@SpringBootApplication(scanBasePackages =
{
"com.github.dynamic.threadpool"
})
public class ServerApplication {
public static void main(String[] args) {

Loading…
Cancel
Save