mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-18 15:50:50 +08:00
user-detail
This commit is contained in:
@@ -56,11 +56,12 @@ class UserController extends Controller
|
||||
* Display the specified resource.
|
||||
*
|
||||
* @param int $id
|
||||
* @return \Illuminate\Http\Response
|
||||
* @return array
|
||||
*/
|
||||
public function show($id)
|
||||
{
|
||||
//
|
||||
$result = $this->repository->getDetail($id);
|
||||
return $this->success($result);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -113,7 +114,7 @@ class UserController extends Controller
|
||||
return $this->success($resource);
|
||||
}
|
||||
|
||||
public function exams()
|
||||
public function matchExams()
|
||||
{
|
||||
$id = Auth::id();
|
||||
$examRepository = new ExamRepository();
|
||||
|
||||
Reference in New Issue
Block a user