@ -424,7 +424,7 @@ class GameSourceService {
'timeout' => 30.0,
]);
try {
$response = $client->post('/upload', [
$response = $client->post('/upload/upload', [
'verify' => false,
'form_params' => [
'file' => $localFilePath,
@ -446,6 +446,9 @@ class GameSourceService {
'message' => '请求异常: ' . $e->getMessage(),
];
}
if ($result['code'] == '0000') {
$result['status'] = true;
return $result;
@ -3,7 +3,7 @@ namespace Base\Tool;
use Base\Tool\StorageClient;
use Exception;
use Qcloud\Cos\Client as BaseCosClient;
use \Qcloud\Cos\Client as BaseCosClient;
/**
* 腾讯云OBS