|
|
@ -1,5 +1,7 @@ |
|
|
|
package com; |
|
|
|
package com; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import com.alicp.jetcache.anno.config.EnableCreateCacheAnnotation; |
|
|
|
|
|
|
|
import com.alicp.jetcache.anno.config.EnableMethodCache; |
|
|
|
import com.hai.common.utils.SpringContextUtil; |
|
|
|
import com.hai.common.utils.SpringContextUtil; |
|
|
|
import org.mybatis.spring.annotation.MapperScan; |
|
|
|
import org.mybatis.spring.annotation.MapperScan; |
|
|
|
import org.springframework.boot.SpringApplication; |
|
|
|
import org.springframework.boot.SpringApplication; |
|
|
@ -14,8 +16,9 @@ import org.springframework.transaction.annotation.EnableTransactionManagement; |
|
|
|
//@ComponentScan
|
|
|
|
//@ComponentScan
|
|
|
|
@EnableTransactionManagement |
|
|
|
@EnableTransactionManagement |
|
|
|
@EnableScheduling |
|
|
|
@EnableScheduling |
|
|
|
|
|
|
|
@EnableMethodCache(basePackages = "com.hai") |
|
|
|
|
|
|
|
@EnableCreateCacheAnnotation |
|
|
|
@ServletComponentScan |
|
|
|
@ServletComponentScan |
|
|
|
@EnableAspectJAutoProxy(proxyTargetClass = true) |
|
|
|
|
|
|
|
@MapperScan("com.hai.dao") |
|
|
|
@MapperScan("com.hai.dao") |
|
|
|
public class MsgApplication |
|
|
|
public class MsgApplication |
|
|
|
{ |
|
|
|
{ |
|
|
|