wupengfei 2 years ago
parent
commit
7b07547f41
2 changed files with 4 additions and 4 deletions
  1. 2 2
      .idea/workspace.xml
  2. 2 2
      application/api/controller/Upload.php

+ 2 - 2
.idea/workspace.xml

@@ -3,7 +3,7 @@
   <component name="ChangeListManager">
     <list default="true" id="1a36929e-c054-4875-a943-593a74e55fa4" name="Default Changelist" comment="">
       <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/application/admin/controller/api/Plugs.php" beforeDir="false" afterPath="$PROJECT_DIR$/application/admin/controller/api/Plugs.php" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/application/api/controller/Upload.php" beforeDir="false" afterPath="$PROJECT_DIR$/application/api/controller/Upload.php" afterDir="false" />
     </list>
     <option name="SHOW_DIALOG" value="false" />
     <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -149,7 +149,7 @@
       <workItem from="1659142083201" duration="7063000" />
       <workItem from="1659316309094" duration="8261000" />
       <workItem from="1659401482776" duration="4587000" />
-      <workItem from="1659416262839" duration="7857000" />
+      <workItem from="1659416262839" duration="8114000" />
     </task>
     <servers />
   </component>

+ 2 - 2
application/api/controller/Upload.php

@@ -50,8 +50,8 @@ class Upload extends Base
      */
     public function upload()
     {
-      //  var_dump(  $this->request->file('file'));
-       // die();
+       var_dump(  $this->request->file('file'));
+        die();
 
         if (!($file = $this->getUploadFile()) || empty($file)) {
             $this->error('文件上传异常,文件可能过大或未上传!');