|
|
@ -1685,7 +1685,7 @@ class QueryController extends BaseController
|
|
|
|
$gameMap['sdk_version'] = $sdkVersion;
|
|
|
|
$gameMap['sdk_version'] = $sdkVersion;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
$gameId = M('game', 'tab_')->where($gameMap)->getField('id', true);
|
|
|
|
$gameId = M('game', 'tab_')->where($gameMap)->getField('id', true);
|
|
|
|
$gameId = $gameId ?? [];
|
|
|
|
$gameId = $gameId ?? [-1];
|
|
|
|
|
|
|
|
|
|
|
|
$map['game_id'] = ['in', $gameId];
|
|
|
|
$map['game_id'] = ['in', $gameId];
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -1800,7 +1800,7 @@ class QueryController extends BaseController
|
|
|
|
$gameMap['sdk_version'] = $sdkVersion;
|
|
|
|
$gameMap['sdk_version'] = $sdkVersion;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
$gameId = M('game', 'tab_')->where($gameMap)->getField('id', true);
|
|
|
|
$gameId = M('game', 'tab_')->where($gameMap)->getField('id', true);
|
|
|
|
$gameId = $gameId ?? [];
|
|
|
|
$gameId = $gameId ?? [-1];
|
|
|
|
|
|
|
|
|
|
|
|
$map['uc.game_id'] = ['in', $gameId];
|
|
|
|
$map['uc.game_id'] = ['in', $gameId];
|
|
|
|
$subMap['game_id'] = ['in', $gameId];
|
|
|
|
$subMap['game_id'] = ['in', $gameId];
|
|
|
@ -2088,7 +2088,7 @@ class QueryController extends BaseController
|
|
|
|
$gameMap['sdk_version'] = $sdkVersion;
|
|
|
|
$gameMap['sdk_version'] = $sdkVersion;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
$gameId = M('game', 'tab_')->where($gameMap)->getField('id', true);
|
|
|
|
$gameId = M('game', 'tab_')->where($gameMap)->getField('id', true);
|
|
|
|
$gameId = $gameId ?? [];
|
|
|
|
$gameId = $gameId ?? [-1];
|
|
|
|
|
|
|
|
|
|
|
|
$params['game_id'] = ['in', $gameId];
|
|
|
|
$params['game_id'] = ['in', $gameId];
|
|
|
|
}
|
|
|
|
}
|
|
|
|