Răsfoiți Sursa

文件类型

shish 2 ani în urmă
părinte
comite
0624f0525e
1 a modificat fișierele cu 1 adăugiri și 3 ștergeri
  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
         }
     }
 
-
 }