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