middleware(['auth:sanctum', 'admin'])->except(['login']); } /** * 현재 관리자 사용자를 반환합니다. * * @return \App\Models\User|null */ protected function getCurrentAdmin() { return $this->getCurrentUser(); } /** * 관리자 권한을 확인합니다. * * @return bool */ protected function isAdmin(): bool { $user = $this->getCurrentAdmin(); // TODO: 실제 관리자 권한 체크 로직 구현 return $user !== null; } }