修改响应
This commit is contained in:
parent
7be9b78ac4
commit
daf6d1f760
@ -61,6 +61,6 @@ class CatchResponse
|
||||
]);
|
||||
}
|
||||
|
||||
return Response::create(config('catch.error'), 'view', $code)->assign(['msg' => $msg]);
|
||||
return Response::create(config('catch.error'), 'view', $code)->assign(['msg' => $msg, 'code' => $code]);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user