|
|
|
@ -1655,12 +1655,12 @@ class QueryController extends BaseController
|
|
|
|
|
$result['status'] = 0;
|
|
|
|
|
$result['data'] = [];
|
|
|
|
|
|
|
|
|
|
if (empty($relationGameId) && empty($sdkVersion)) {
|
|
|
|
|
if (empty($relationGameId)) {
|
|
|
|
|
return $result;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
empty($relationGameId) || $map['relation_game_id'] = $relationGameId;
|
|
|
|
|
empty($sdkVersion) || $map['sdk_version'] = $sdkVersion;
|
|
|
|
|
$map['relation_game_id'] = intval($relationGameId);
|
|
|
|
|
empty($sdkVersion) || $map['sdk_version'] = intval($sdkVersion);
|
|
|
|
|
|
|
|
|
|
$gameIds = M('Game', 'tab_')
|
|
|
|
|
->where($map)
|
|
|
|
|