From c3202ca2c1532edccf42e455d8ea0d648a92fdd6 Mon Sep 17 00:00:00 2001 From: elf <360197197@qq.com> Date: Wed, 15 Dec 2021 17:21:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= 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 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';