wupengfei 2 年之前
父节点
当前提交
246b238e2e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      application/api/controller/Upload.php

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

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