mirror of
https://github.com/v2board/v2board.git
synced 2025-01-26 16:09:09 +08:00
order assign
This commit is contained in:
parent
d1a2e7a29e
commit
a4df1416de
@ -107,7 +107,7 @@ class OrderController extends Controller
|
|||||||
public function assign(OrderAssign $request)
|
public function assign(OrderAssign $request)
|
||||||
{
|
{
|
||||||
$plan = Plan::find($request->input('plan_id'));
|
$plan = Plan::find($request->input('plan_id'));
|
||||||
$user = User::where('email', $request->input('email'));
|
$user = User::where('email', $request->input('email'))->first();
|
||||||
|
|
||||||
if (!$user) {
|
if (!$user) {
|
||||||
abort(500, '该用户不存在');
|
abort(500, '该用户不存在');
|
||||||
|
2
public/assets/admin/umi.js
vendored
2
public/assets/admin/umi.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user