@SpringBootApplication | @SpringBootApplication | ||||
@EnableAspectJAutoProxy(proxyTargetClass = true) | @EnableAspectJAutoProxy(proxyTargetClass = true) | ||||
@EnableTransactionManagement | @EnableTransactionManagement | ||||
@EnableScheduling | |||||
// @EnableScheduling | |||||
public class UserApplication extends SpringBootServletInitializer { | public class UserApplication extends SpringBootServletInitializer { | ||||
public static void main(String[] args) { | public static void main(String[] args) { |
spring: | spring: | ||||
profiles: | profiles: | ||||
active: dev | |||||
active: prod | |||||
# Redis数据源 | # Redis数据源 | ||||
# redis: | # redis: | ||||
# # Redis数据库索引(默认为0) | # # Redis数据库索引(默认为0) |