wesmiler 6 lat temu
rodzic
commit
25fb208e1f

+ 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);
         }