|
|
@ -352,9 +352,9 @@ class GameSourceService {
|
|
|
|
$response = $client->post('/upload', [
|
|
|
|
$response = $client->post('/upload', [
|
|
|
|
'verify' => false,
|
|
|
|
'verify' => false,
|
|
|
|
'form_params' => [
|
|
|
|
'form_params' => [
|
|
|
|
'file' => $gameId,
|
|
|
|
'file' => $localFilePath,
|
|
|
|
'dist' => $distFilePath,
|
|
|
|
'dist' => $distFilePath,
|
|
|
|
'is_delete_local' => 0,
|
|
|
|
'is_delete_local' => ($isDeleteLocal ? 1 : 0),
|
|
|
|
]
|
|
|
|
]
|
|
|
|
]);
|
|
|
|
]);
|
|
|
|
$result = (string)$response->getBody();
|
|
|
|
$result = (string)$response->getBody();
|
|
|
|