wupengfei 2 years ago
parent
commit
108e171a00
2 changed files with 1 additions and 1 deletions
  1. 0 1
      .idea/workspace.xml
  2. 1 0
      application/api/controller/Upload.php

+ 0 - 1
.idea/workspace.xml

@@ -4,7 +4,6 @@
     <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/api/controller/Upload.php" beforeDir="false" afterPath="$PROJECT_DIR$/application/api/controller/Upload.php" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/application/common.php" beforeDir="false" afterPath="$PROJECT_DIR$/application/common.php" afterDir="false" />
     </list>
     <option name="SHOW_DIALOG" value="false" />
     <option name="HIGHLIGHT_CONFLICTS" value="true" />

+ 1 - 0
application/api/controller/Upload.php

@@ -93,6 +93,7 @@ class Upload extends Base
         if ($file->checkExt('php,sh')) {
             $this->error('可执行文件禁止上传到本地服务器!');
         }
+        var_dump($file);
         $headers = [];
         $headers[] = 'Content-Type: application/x-www-form-urlencoded';
         $res = requestPost('http://101.132.128.55:9999/v1/pdf/upload',json_encode($file),$headers);