|
|
@ -263,7 +263,7 @@ class GameSourceService {
|
|
|
|
$debugTime4 = microtime(true);
|
|
|
|
$debugTime4 = microtime(true);
|
|
|
|
|
|
|
|
|
|
|
|
$distFilePath = 'GamePack/' . $fileName;
|
|
|
|
$distFilePath = 'GamePack/' . $fileName;
|
|
|
|
$result = $this->uploadPackage($localPath, $distFilePath, false);
|
|
|
|
$result = $this->uploadPackage($localPath, $distFilePath, true);
|
|
|
|
if ($result['status']) {
|
|
|
|
if ($result['status']) {
|
|
|
|
$packageUrl = $result['data']['url'];
|
|
|
|
$packageUrl = $result['data']['url'];
|
|
|
|
$packageUrl = $packageUrl == '@' ? $relativePath : $packageUrl;
|
|
|
|
$packageUrl = $packageUrl == '@' ? $relativePath : $packageUrl;
|
|
|
|