|
|
|
@ -1175,8 +1175,20 @@ class DownloadController extends BaseController {
|
|
|
|
|
$map['_string'] = '1<>1';
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
empty(I('relation_game_id')) || $map['tab_pay_info.relation_game_id'] = I('relation_game_id');
|
|
|
|
|
empty(I('sdk_version')) || $map['tab_pay_info.sdk_version'] = I('sdk_version');
|
|
|
|
|
// empty(I('relation_game_id')) || $map['tab_pay_info.relation_game_id'] = I('relation_game_id');
|
|
|
|
|
// empty(I('sdk_version')) || $map['tab_pay_info.sdk_version'] = I('sdk_version');relation_game_id
|
|
|
|
|
$relation_game_id = I('relation_game_id');
|
|
|
|
|
$sdk_version = I('sdk_version');
|
|
|
|
|
if ($relation_game_id != 0 || $sdk_version != 0) {
|
|
|
|
|
if ($relation_game_id != 0) {
|
|
|
|
|
$gameMap['relation_game_id'] = $relation_game_id;
|
|
|
|
|
}
|
|
|
|
|
if ($sdkVersion != 0) {
|
|
|
|
|
$gameMap['sdk_version'] = $sdkVersion;
|
|
|
|
|
}
|
|
|
|
|
$gameId1 = M('game', 'tab_')->where($gameMap)->getField('id', true);
|
|
|
|
|
$map['game_id'] = ['in', $gameId1];
|
|
|
|
|
}
|
|
|
|
|
empty(I('server_id')) || $map['tab_pay_info.server_id'] = I('server_id');
|
|
|
|
|
empty(I('game_player_name')) || $map['tab_pay_info.game_player_name'] = ['like', '%' . I('game_player_name') . '%'];
|
|
|
|
|
empty(I('user_account')) || $map['tab_pay_info.user_account'] = ['like', '%' . I('user_account') . '%'];
|
|
|
|
|