shish hace 1 año
padre
commit
25ac1cb87c
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. 1 2
      app-ghs/controllers/UploadController.php

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

@@ -200,7 +200,7 @@ class UploadController extends BaseController
     }
     }
 
 
     //上传excel文件 ssh 20241126
     //上传excel文件 ssh 20241126
-    public function actionExcel()
+    public function actionImportKd()
     {
     {
         $get = Yii::$app->request->get();
         $get = Yii::$app->request->get();
         $id = $get['id'] ?? '';
         $id = $get['id'] ?? '';
@@ -208,7 +208,6 @@ class UploadController extends BaseController
         if (!is_uploaded_file($file['tmp_name'])) {
         if (!is_uploaded_file($file['tmp_name'])) {
             util::fail('please upload img');
             util::fail('please upload img');
         }
         }
-        print_r($file);die;
         $mainId = $this->sjId;
         $mainId = $this->sjId;
         $shopId = $this->shopId;
         $shopId = $this->shopId;
         $month = date("Ym");
         $month = date("Ym");