From 1c79152b5c24d9338dce4f39b650024647958970 Mon Sep 17 00:00:00 2001 From: chenxiaojun <956334972@qq.com> Date: Tue, 19 Nov 2019 15:04:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A8=E5=B9=BF=E5=B9=B3=E5=8F=B0->=E7=99=BB?= =?UTF-8?q?=E5=BD=95=E7=BB=9F=E8=AE=A1--=E6=9A=82=E6=97=B6=E5=8E=BB?= =?UTF-8?q?=E9=99=A4=E5=8C=BA=E6=9C=8D=E6=A3=80=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Base/Repository/UserRepository.class.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Application/Base/Repository/UserRepository.class.php b/Application/Base/Repository/UserRepository.class.php index 2068b5bef..91f189e5a 100644 --- a/Application/Base/Repository/UserRepository.class.php +++ b/Application/Base/Repository/UserRepository.class.php @@ -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;