|
|
@@ -75,10 +75,10 @@ public class FileServiceImpl implements FileService {
|
|
|
}
|
|
|
// 不支持查看、压缩:jasper文件、tmp路径
|
|
|
String filePath = file.getPath().toLowerCase();
|
|
|
- if (filePath.endsWith(".jasper") || filePath.endsWith("tmp") || filePath.contains("\\tmp\\")
|
|
|
- || filePath.contains("/tmp/")) {
|
|
|
- return false;
|
|
|
- }
|
|
|
+ //if (filePath.endsWith(".jasper") || filePath.endsWith("tmp") || filePath.contains("\\tmp\\")
|
|
|
+ // || filePath.contains("/tmp/")) {
|
|
|
+ // return false;
|
|
|
+ //}
|
|
|
return true;
|
|
|
}
|
|
|
};
|