From 50b7db285cfbd43897bb6509691aaeff9b450c9e Mon Sep 17 00:00:00 2001 From: lanzu_qsy <334039090@qq.com> Date: Tue, 25 Aug 2020 11:57:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=A4=BE=E5=8C=BA=E6=90=9C?= =?UTF-8?q?=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Admin/Controllers/LanzuFinancialRecord.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Admin/Controllers/LanzuFinancialRecord.php b/app/Admin/Controllers/LanzuFinancialRecord.php index ea77465..ace5455 100644 --- a/app/Admin/Controllers/LanzuFinancialRecord.php +++ b/app/Admin/Controllers/LanzuFinancialRecord.php @@ -31,7 +31,7 @@ class LanzuFinancialRecord extends AdminController } } - return Grid::make($builder, function (Grid $grid) use ($adu) { + return Grid::make($builder::where('user_type',4), function (Grid $grid) use ($adu) { $grid->id; $grid->user_id('用户')->display(function () { if ($this->user_type == 1) {