wesmiler 6 anni fa
parent
commit
25fb208e1f
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  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);
         }