This commit is contained in:
Tokumeikoi 2020-03-05 03:33:21 +08:00
parent 3becb71a5a
commit 89630d889d

View File

@ -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, '保存失败');