mirror of
https://gitee.com/kekingcn/file-online-preview.git
synced 2026-03-14 13:13:47 +08:00
优化:修改历史遗留容易造成误解的方法名
This commit is contained in:
@@ -31,7 +31,7 @@ public class FileUtils {
|
||||
Logger log= LoggerFactory.getLogger(getClass());
|
||||
|
||||
@Autowired
|
||||
CacheService cacheService;
|
||||
private CacheService cacheService;
|
||||
|
||||
String fileDir = ConfigConstants.getFileDir();
|
||||
|
||||
@@ -195,7 +195,7 @@ public class FileUtils {
|
||||
* @param fileKey
|
||||
* @return
|
||||
*/
|
||||
public List getRedisImgUrls(String fileKey){
|
||||
public List getImgCache(String fileKey){
|
||||
return cacheService.getImgCache(fileKey);
|
||||
}
|
||||
|
||||
@@ -204,7 +204,7 @@ public class FileUtils {
|
||||
* @param fileKey
|
||||
* @param imgs
|
||||
*/
|
||||
public void setRedisImgUrls(String fileKey,List imgs){
|
||||
public void putImgCache(String fileKey,List imgs){
|
||||
cacheService.putImgCache(fileKey, imgs);
|
||||
}
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user