wesmiler 6 年之前
父節點
當前提交
25fb208e1f
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      vendor/thinkcmf/cmf-app/src/weixin/model/Stroage.php

+ 2 - 2
vendor/thinkcmf/cmf-app/src/weixin/model/Stroage.php

@@ -243,10 +243,10 @@ class Stroage extends Model
         if (in_array($fileType, $typeData)) {
             if($fileType == 'docx'){
                 $file = Stroage::convertFile($file,'doc');
+            }else if($fileType == 'xlx'){
+                $file = Stroage::convertFile($file,'xlsx');
             }
-            echo $file;
             $file = Stroage::onLineConvertFile($file);
-            echo $file;
             return Stroage::getPdfFilePage($file);
         }