From 1e976d620b18ebe4eeb690eea28967ee13fff6ac Mon Sep 17 00:00:00 2001 From: ELF <360197197@qq.com> Date: Wed, 27 Nov 2019 13:00:40 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Base/Service/GameSourceService.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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();