代码重构

This commit is contained in:
ldj_willow
2022-07-12 23:53:15 +08:00
parent e21b2b08f2
commit 8e3b56df6a
6 changed files with 0 additions and 110 deletions

View File

@@ -1,8 +1,6 @@
package org.nl;
import com.alicp.jetcache.Cache;
import com.alicp.jetcache.anno.config.EnableCreateCacheAnnotation;
import com.alicp.jetcache.anno.config.EnableMethodCache;
import io.swagger.annotations.Api;
import org.nl.annotation.rest.AnonymousGetMapping;
import org.nl.utils.SpringContextHolder;
@@ -35,8 +33,6 @@ import org.springframework.web.bind.annotation.RestController;
@EnableTransactionManagement
@EnableJpaAuditing(auditorAwareRef = "auditorAware")
@EnableMethodCache(basePackages = "org.nl")
@EnableCreateCacheAnnotation
public class AppRun implements CommandLineRunner {
private Cache<String, Object> userCache;