有人能跟我说说它是怎么调的其他类、接口的


#1

MapperScan(“com.seal.cfa.dao”)
EnableScheduling
EnableCaching
EnableAsync
SpringBootApplication
上面这些前面有@
class MyApplication {

@Bean(name = ["threadPoolTaskExecutor"])
fun threadPoolTaskExecutor(): Executor {
    return ThreadPoolTaskExecutor()
}

}

fun main(args: Array) {
SpringApplication.run(MyApplication::class.java, *args)
}


#2

谷歌或百度,Spring Boot 教程,自然能解答你的疑问


京ICP备16022265号-2 Kotlin China 2017 - 2018