|
|
|
@ -39,7 +39,6 @@ class UserRepository
|
|
|
|
|
$beginTime = $params['begin_time'] ?? 0;
|
|
|
|
|
$endTime = $params['end_time'] ?? 0;
|
|
|
|
|
$gameId = $params['game_id'] ?? 0;
|
|
|
|
|
$serverId = $params['server_id'] ?? 0;
|
|
|
|
|
$ids = $params['promote_id'] ?? [];
|
|
|
|
|
|
|
|
|
|
$conditions = [];
|
|
|
|
@ -48,9 +47,6 @@ class UserRepository
|
|
|
|
|
if ($gameId > 0) {
|
|
|
|
|
$conditions['game_id'] = $gameId;
|
|
|
|
|
}
|
|
|
|
|
if ($serverId > 0) {
|
|
|
|
|
$conditions['server_id'] = $serverId;
|
|
|
|
|
}
|
|
|
|
|
$conditions['pay_way'] = $isBan ? ['neq', '-10'] : ['neq', '-1'];
|
|
|
|
|
|
|
|
|
|
return $conditions;
|
|
|
|
|