|
@@ -67,7 +67,7 @@ public class OnlinePreviewController {
|
|
|
FileAttribute fileAttribute = fileHandlerService.getFileAttribute(fileUrl, req);
|
|
|
model.addAttribute("file", fileAttribute);
|
|
|
FilePreview filePreview = previewFactory.get(fileAttribute);
|
|
|
- logger.info("预览文件url:{},previewType:{}", fileUrl, fileAttribute.getType());
|
|
|
+ logger.info("预览文件url:{},previewType:{}, officePreviewType: {}", fileUrl, fileAttribute.getType(), fileAttribute.getOfficePreviewType());
|
|
|
return filePreview.filePreviewHandle(fileUrl, model, fileAttribute);
|
|
|
}
|
|
|
|