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