diff --git a/Application/Base/Service/GameSourceService.class.php b/Application/Base/Service/GameSourceService.class.php index 3d534cd47..78f1c40fe 100644 --- a/Application/Base/Service/GameSourceService.class.php +++ b/Application/Base/Service/GameSourceService.class.php @@ -280,7 +280,7 @@ class GameSourceService { $savePath = ''; - $fileName = substr(md5(microtime(true) . 'game_package' . $apply['game_id'] . '-' . $apply['promote_id']), 8 , 16); + $fileName = $apply['game_id'] . '_' . substr(md5(microtime(true) . 'game_package' . $apply['game_id'] . '-' . $apply['promote_id']), 8 , 16); if ($apply['sdk_version'] == 1) { $fileName .= '.apk'; @@ -516,7 +516,7 @@ class GameSourceService { } } - $fileName = substr(md5($type . '_' . $gameId . '_' . $promoteId . '_' . $platformId . '_' . $position . '_' . microtime()), 8, 16); + $fileName = $gameId . '_' . substr(md5($type . '_' . $gameId . '_' . $promoteId . '_' . $platformId . '_' . $position . '_' . microtime()), 8, 16); if ($type == 'pack') { if ($promoteId == 0) { $fileName = 'Uploads/SourcePlist/'. $fileName . '.Plist';