shish 4 years ago
parent
commit
855ff4df03
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app-ghs/controllers/UploadController.php

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

@@ -23,6 +23,7 @@ class UploadController extends BaseController
     {
     {
         $file = $_FILES['file'];
         $file = $_FILES['file'];
         if (!is_uploaded_file($file['tmp_name'])) {
         if (!is_uploaded_file($file['tmp_name'])) {
+            print_r($file);die;
             util::fail('please upload img');
             util::fail('please upload img');
         }
         }
         $mainId = $this->sjId;
         $mainId = $this->sjId;