wesmiler hace 6 años
padre
commit
9ac76165be
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      vendor/thinkcmf/cmf-app/src/weixin/model/Stroage.php

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

@@ -296,8 +296,8 @@ class Stroage extends Model
                 $command = "libreoffice6.3 --invisible --convert-to pdf --outdir \"{$path}\" \"{$pathFile}\"";
                 exec($command);
                 break;
-            case 'docx':
-                $command = "libreoffice6.3 --invisible --convert-to docx --outdir \"{$path}\" \"{$pathFile}\"";
+            case 'doc':
+                $command = "libreoffice6.3 --invisible --convert-to doc --outdir \"{$path}\" \"{$pathFile}\"";
                 exec($command);
                 break;
         }