diff --git a/Application/Base/Service/GameSourceService.class.php b/Application/Base/Service/GameSourceService.class.php index 8cf11217a..a7c13f52b 100644 --- a/Application/Base/Service/GameSourceService.class.php +++ b/Application/Base/Service/GameSourceService.class.php @@ -352,9 +352,9 @@ class GameSourceService { $response = $client->post('/upload', [ 'verify' => false, 'form_params' => [ - 'file' => $gameId, + 'file' => $localFilePath, 'dist' => $distFilePath, - 'is_delete_local' => 0, + 'is_delete_local' => ($isDeleteLocal ? 1 : 0), ] ]); $result = (string)$response->getBody();