作者 lyh

gx

@@ -319,8 +319,6 @@ class LoginController extends BaseController @@ -319,8 +319,6 @@ class LoginController extends BaseController
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';
321 $code = shell_exec($cmd); 321 $code = shell_exec($cmd);
322 - echo $code;  
323 - return;  
324 if(200 != (int)$code){ 322 if(200 != (int)$code){
325 $errorFileModel = new ErrorFile(); 323 $errorFileModel = new ErrorFile();
326 $errorFileModel->add(['path'=>$path.'/'.$fileName]); 324 $errorFileModel->add(['path'=>$path.'/'.$fileName]);