|
|
|
@ -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) {
|
|
|
|
|