正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -314,7 +314,7 @@ class LoginController extends BaseController | @@ -314,7 +314,7 @@ class LoginController extends BaseController | ||
| 314 | } | 314 | } |
| 315 | 315 | ||
| 316 | public function ceshi(){ | 316 | public function ceshi(){ |
| 317 | - $path = 'upload/p/1577/image_other/2024-04'; | 317 | + $path = '/upload/p/1577/image_other/2024-04'; |
| 318 | $fileName = '661e42970abd921831.png'; | 318 | $fileName = '661e42970abd921831.png'; |
| 319 | $file_path = getImageUrl($path.'/'.$fileName); | 319 | $file_path = getImageUrl($path.'/'.$fileName); |
| 320 | $cmd = 'curl -F "file_path='.$file_path.'" -F "save_path=/www/wwwroot/cos'.$path.'" https://v6-file.globalso.com/upload.php'; | 320 | $cmd = 'curl -F "file_path='.$file_path.'" -F "save_path=/www/wwwroot/cos'.$path.'" https://v6-file.globalso.com/upload.php'; |
-
请 注册 或 登录 后发表评论