mirror of
https://github.com/zfile-dev/zfile.git
synced 2025-04-19 05:34:52 +00:00
♿ 优化本地存储, 不适用缓存
This commit is contained in:
@@ -18,7 +18,7 @@ import java.util.List;
|
||||
@CacheConfig(cacheNames = ZFileCacheConfiguration.CACHE_NAME, keyGenerator = "keyGenerator")
|
||||
public interface FileService {
|
||||
|
||||
@Cacheable
|
||||
@Cacheable(condition = "#root.targetClass.simpleName != 'LocalServiceImpl'")
|
||||
List<FileItemDTO> fileList(String path) throws Exception;
|
||||
|
||||
@Cacheable
|
||||
|
||||
Reference in New Issue
Block a user