فهرست منبع

修改预览的默认模式

sandm 2 سال پیش
والد
کامیت
e6f1842ca2
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      app/common.php

+ 1 - 1
app/common.php

@@ -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) {