wesmiler пре 6 година
родитељ
комит
a2ec2f46a5
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      vendor/thinkcmf/cmf-app/src/weixin/model/Stroage.php

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

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