From ee365e83b1c4781441ce0e272b926b670da5da8a Mon Sep 17 00:00:00 2001 From: "iVampireSP.com" Date: Sat, 21 Jan 2023 22:50:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E8=BF=9B=20=E4=BA=A4=E6=98=93?= =?UTF-8?q?=E8=AE=B0=E5=BD=95=E7=AD=9B=E9=80=89=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Http/Controllers/Web/BalanceController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Web/BalanceController.php b/app/Http/Controllers/Web/BalanceController.php index 9487837..b73eb8a 100644 --- a/app/Http/Controllers/Web/BalanceController.php +++ b/app/Http/Controllers/Web/BalanceController.php @@ -256,7 +256,7 @@ function transactions( $modules = Module::all(); - $transactions = (new Transaction)->where('user_id', auth()->id()); + $transactions = (new Transaction)->where('user_id', auth('web')->id())->where('payment', '!=', 'module_balance'); if ($request->has('type')) { $transactions = $transactions->where('type', $request->type);