|
|
@ -2374,13 +2374,13 @@ class QueryController extends BaseController
|
|
|
|
if (!isset($map['game_id'])) {
|
|
|
|
if (!isset($map['game_id'])) {
|
|
|
|
$sdkVersionText = getSDKTypeName($map['sdk_version'], true);
|
|
|
|
$sdkVersionText = getSDKTypeName($map['sdk_version'], true);
|
|
|
|
} elseif (!isset($map['sdk_version'])) {
|
|
|
|
} elseif (!isset($map['sdk_version'])) {
|
|
|
|
$where['game_id'] = $map['game_id'];
|
|
|
|
$where['id'] = $map['game_id'];
|
|
|
|
$gameName = M('game', 'tab_')->where($where)->getField('relation_game_name');
|
|
|
|
$gameName = M('game', 'tab_')->where($where)->getField('relation_game_name');
|
|
|
|
if (isset($map['server_id'])) {
|
|
|
|
if (isset($map['server_id'])) {
|
|
|
|
$serverName = $this->getServerName($map['game_id'], 0, $map['server_id']);
|
|
|
|
$serverName = $this->getServerName($map['game_id'], 0, $map['server_id']);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
$where['game_id'] = $map['game_id'];
|
|
|
|
$where['id'] = $map['game_id'];
|
|
|
|
$where['sdk_version'] = $map['sdk_version'];
|
|
|
|
$where['sdk_version'] = $map['sdk_version'];
|
|
|
|
$gameName = M('game', 'tab_')->where($where)->getField('game_name');
|
|
|
|
$gameName = M('game', 'tab_')->where($where)->getField('game_name');
|
|
|
|
$sdkVersionText = getSDKTypeName($map['sdk_version'], true);
|
|
|
|
$sdkVersionText = getSDKTypeName($map['sdk_version'], true);
|
|
|
|