master
elf 3 years ago
parent bb5dcae9ea
commit c3202ca2c1

@ -280,7 +280,7 @@ class GameSourceService {
$savePath = ''; $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) { if ($apply['sdk_version'] == 1) {
$fileName .= '.apk'; $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 ($type == 'pack') {
if ($promoteId == 0) { if ($promoteId == 0) {
$fileName = 'Uploads/SourcePlist/'. $fileName . '.Plist'; $fileName = 'Uploads/SourcePlist/'. $fileName . '.Plist';

Loading…
Cancel
Save