作者 lyh

gx

@@ -50,8 +50,6 @@ class TencentCosService extends BaseService @@ -50,8 +50,6 @@ class TencentCosService extends BaseService
50 ); 50 );
51 // 打开文件流 51 // 打开文件流
52 $url_path = config('filesystems.disks.upload')['root'].$path; 52 $url_path = config('filesystems.disks.upload')['root'].$path;
53 - var_dump($url_path);  
54 - die();  
55 $file = fopen($url_path, 'r'); 53 $file = fopen($url_path, 'r');
56 return $this->http_put($url,$headers,$file,$url_path); 54 return $this->http_put($url,$headers,$file,$url_path);
57 } 55 }
@@ -78,6 +76,8 @@ class TencentCosService extends BaseService @@ -78,6 +76,8 @@ class TencentCosService extends BaseService
78 // 关闭文件流和CURL句柄 76 // 关闭文件流和CURL句柄
79 fclose($file); 77 fclose($file);
80 curl_close($curl); 78 curl_close($curl);
  79 + var_dump($response);
  80 + die();
81 return $response; 81 return $response;
82 } 82 }
83 83