作者 lyh

gx

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