mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 17:49:11 +08:00
fix
This commit is contained in:
parent
3becb71a5a
commit
89630d889d
@ -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, '保存失败');
|
||||
|
Loading…
Reference in New Issue
Block a user