shish 2 лет назад
Родитель
Сommit
1243e3686d
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app-ghs/controllers/UploadController.php

+ 1 - 1
app-ghs/controllers/UploadController.php

@@ -182,7 +182,7 @@ class UploadController extends BaseController
         }
         $preFileName = stringUtil::uniqueFileName();
         //$newFile = $preFileName . ".txt";
-        $newFile = $preFileName . ".xls";
+        $newFile = $preFileName . ".txt";
         $fullPathFile = $path . $newFile;
         if (move_uploaded_file($file['tmp_name'], $fullPathFile)) {