作者 lyh

gx

@@ -321,7 +321,7 @@ class LoginController extends BaseController @@ -321,7 +321,7 @@ class LoginController extends BaseController
321 'save_path'=>'/www/wwwroot/cos'.$path 321 'save_path'=>'/www/wwwroot/cos'.$path
322 ]; 322 ];
323 $url = 'https://v6-file.globalso.com/upload.php'; 323 $url = 'https://v6-file.globalso.com/upload.php';
324 - http_post($url,$param,['charset=utf-8'],false); 324 + return http_post($url,$param,['charset=utf-8'],false);
325 // $cmd = 'curl -F "file_path='.$file_path.'" -F "save_path=/www/wwwroot/cos'.$path.'" https://v6-file.globalso.com/upload.php'; 325 // $cmd = 'curl -F "file_path='.$file_path.'" -F "save_path=/www/wwwroot/cos'.$path.'" https://v6-file.globalso.com/upload.php';
326 // return shell_exec($cmd); 326 // return shell_exec($cmd);
327 } 327 }