|
...
|
...
|
@@ -311,13 +311,4 @@ class LoginController extends BaseController |
|
|
|
}
|
|
|
|
return $data;
|
|
|
|
}
|
|
|
|
|
|
|
|
public function ceshi(){
|
|
|
|
//同步到大文件
|
|
|
|
$path = '/upload/m/video/2023-08';
|
|
|
|
$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';
|
|
|
|
echo shell_exec($cmd);
|
|
|
|
}
|
|
|
|
} |
...
|
...
|
|