|
|
|
|
@ -94,7 +94,7 @@ class AuthController extends Controller
|
|
|
|
|
*/
|
|
|
|
|
public function me()
|
|
|
|
|
{
|
|
|
|
|
$user = Admin::with('department')->find($this->guard()->user()->id);
|
|
|
|
|
$user = Admin::with('department', 'role')->find($this->guard()->user()->id);
|
|
|
|
|
return $this->success($user);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|