作者 lyh

gx

@@ -317,6 +317,6 @@ class LoginController extends BaseController @@ -317,6 +317,6 @@ class LoginController extends BaseController
317 $fileName = '64e81b9b80b1331590.mp4'; 317 $fileName = '64e81b9b80b1331590.mp4';
318 $file_path = config('filesystems.disks.cos')['cdn1'].$path.'/'.$fileName; 318 $file_path = config('filesystems.disks.cos')['cdn1'].$path.'/'.$fileName;
319 $cmd = 'curl -F "file_path='.$file_path.'" -F "save_path=/www/wwwroot/cos'.$path.'" https://v6-file.globalso.com/upload.php'; 319 $cmd = 'curl -F "file_path='.$file_path.'" -F "save_path=/www/wwwroot/cos'.$path.'" https://v6-file.globalso.com/upload.php';
320 - return shell_exec($cmd); 320 + return exec($cmd);
321 } 321 }
322 } 322 }