mirror of
https://github.com/zfile-dev/zfile.git
synced 2025-04-19 05:34:52 +00:00
25 lines
755 B
Java
25 lines
755 B
Java
package im.zhaojun;
|
|
|
|
import com.alicp.jetcache.anno.config.EnableCreateCacheAnnotation;
|
|
import com.alicp.jetcache.anno.config.EnableMethodCache;
|
|
import org.springframework.boot.SpringApplication;
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
import org.springframework.context.annotation.EnableAspectJAutoProxy;
|
|
import org.springframework.scheduling.annotation.EnableAsync;
|
|
|
|
/**
|
|
* @author zhaojun
|
|
*/
|
|
@EnableAsync
|
|
@SpringBootApplication
|
|
@EnableMethodCache(basePackages = "im.zhaojun", proxyTargetClass = true)
|
|
@EnableCreateCacheAnnotation
|
|
@EnableAspectJAutoProxy(exposeProxy = true)
|
|
public class ZfileApplication {
|
|
|
|
public static void main(String[] args) {
|
|
SpringApplication.run(ZfileApplication.class, args);
|
|
}
|
|
|
|
}
|