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

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

@@ -181,11 +181,10 @@ class UploadController extends BaseController
             mkdir($path, 0700, true);
         }
         $preFileName = stringUtil::uniqueFileName();
-        $newFile = $preFileName . ".xls";
+        $newFile = $preFileName . ".txt";
         $fullPathFile = $path . $newFile;
         if (move_uploaded_file($file['tmp_name'], $fullPathFile)) {
 
-
             //队列方式去处理
             $customerCachedKey = 'file_batch_create_customer_list';
             $value = $shopId . ',' . $fullPathFile;
@@ -199,5 +198,4 @@ class UploadController extends BaseController
         }
     }
 
-
 }