作者 lyh

gx

@@ -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';