mirror of
https://gitee.com/kekingcn/file-online-preview.git
synced 2026-11-12 06:10:39 +00:00
fix: harden every shipped config and isolate archive storage tests
This commit is contained in:
@@ -35,13 +35,13 @@ import java.util.List;
|
||||
@Component
|
||||
public class CompressFileReader {
|
||||
private final FileHandlerService fileHandlerService;
|
||||
private static final String fileDir = ConfigConstants.getFileDir();
|
||||
|
||||
public CompressFileReader(FileHandlerService fileHandlerService) {
|
||||
this.fileHandlerService = fileHandlerService;
|
||||
}
|
||||
|
||||
public String unRar(String filePath, String filePassword, String fileName, FileAttribute fileAttribute) throws Exception {
|
||||
String fileDir = ConfigConstants.getFileDir();
|
||||
List<String> imgUrls = new ArrayList<>();
|
||||
String baseUrl = BaseUrlFilter.getBaseUrl();
|
||||
String packagePath = "_";
|
||||
|
||||
Reference in New Issue
Block a user