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

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

@@ -139,7 +139,7 @@ class Devices extends Model
         if (in_array($fileType, ['xls', 'xlsx'])) {
             $fileUrl = str_replace('.pdf', '.' . $fileType, $fileUrl);
         }else if(in_array($fileType, ['docx', 'doc'])){
-            $fileUrl = str_replace(['.doc','.docx'], ['.pdf','.pdf'], $fileUrl);
+            $fileUrl = str_replace(['.docx','.doc'], ['.pdf','.pdf'], $fileUrl);
         }