From 89630d889d91caecb2234fe1a8c5e7e3a4c8ca7d Mon Sep 17 00:00:00 2001 From: Tokumeikoi Date: Thu, 5 Mar 2020 03:33:21 +0800 Subject: [PATCH] fix --- app/Http/Controllers/Admin/PlanController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Admin/PlanController.php b/app/Http/Controllers/Admin/PlanController.php index c717b2a0..c3cac2a4 100755 --- a/app/Http/Controllers/Admin/PlanController.php +++ b/app/Http/Controllers/Admin/PlanController.php @@ -31,7 +31,7 @@ class PlanController extends Controller DB::beginTransaction(); if (!User::where('plan_id', $plan->id) ->get() - ->update(['group_id', $plan->group_id]) + ->update(['group_id' => $plan->group_id]) ) { DB::rollBack(); abort(500, '保存失败');