正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -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 | } |
-
请 注册 或 登录 后发表评论