|
@@ -291,7 +291,7 @@ function getStoragePath($path) {
|
|
|
|
|
|
function getFileView($path) {
|
|
|
//$complete_path = "https://report.jinjianghc.com/" . getStoragePath($path);
|
|
|
- return "https://fileview.jinjianghc.com/onlinePreview?url=" . base64_encode($path);
|
|
|
+ return "https://fileview.jinjianghc.com/onlinePreview?url=" . base64_encode($path) . "&officePreviewType=pdf";
|
|
|
}
|
|
|
|
|
|
function isImage($filename) {
|