独立flv文件预览实现

This commit is contained in:
chenkailing
2020-12-27 15:14:32 +08:00
committed by kl
parent 9c83860e1b
commit 602e80ee9e
11 changed files with 55 additions and 18 deletions

View File

@@ -55,7 +55,7 @@ public class CompressFilePreviewImpl implements FilePreview {
}
if (fileTree != null && !"null".equals(fileTree)) {
model.addAttribute("fileTree", fileTree);
return "compress";
return COMPRESS_FILE_PREVIEW_PAGE;
} else {
return otherFilePreview.notSupportedFile(model, fileAttribute, "压缩文件类型不受支持尝试在压缩的时候选择RAR4格式");
}