Merge pull request '优化' (#598) from feature/upgrade_pack into master_out_qy

Reviewed-on: http://8.136.139.249:3000/wmtx/platform/pulls/598
master
廖金灵 3 years ago
commit 2c0225b59a

@ -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';

Loading…
Cancel
Save