作者 lyh

gxdemo脚本

@@ -79,8 +79,6 @@ class FileManageController extends BaseController @@ -79,8 +79,6 @@ class FileManageController extends BaseController
79 // Download the file 79 // Download the file
80 $response = Http::get($fileUrl); 80 $response = Http::get($fileUrl);
81 if ($response->successful()) { 81 if ($response->successful()) {
82 - // Save the file locally  
83 - Storage::put($username, $response->body());  
84 $this->response('success'); 82 $this->response('success');
85 } else { 83 } else {
86 $this->response('error'); 84 $this->response('error');