wupengfei %!s(int64=2) %!d(string=hai) anos
pai
achega
6637e64dfd
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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(),$file);
+        var_dump($file->getInfo(),$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);