사용자 계정 관리 기능 구현 및 API 오류 수정

- 사용자 로그인 인증정보 관리 기능 구현 (이메일/휴대폰 추가/삭제)
- 사용자 추가 기능 구현 (실시간 ID 중복 검증 포함)
- 사용자 목록 조회 기능 구현
- API 엔드포인트 오류 수정 (userExistsUserid: GET → POST, URL 경로 수정)
- TypeScript 타입 오류 수정 (UseQueryOptions, UserCreateParams/Response)
- 이메일/휴대폰 형식 검증 및 중복 방지 로직 추가

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Jay Sheen
2025-09-25 09:10:38 +09:00
parent 3f404366cb
commit 5e1f24c8b8
18 changed files with 1148 additions and 207 deletions

View File

@@ -12,31 +12,23 @@ import {
export const UserMenuAuthPage = () => {
const { navigate } = useNavigate();
const location = useLocation();
const [tid, setTid] = useState<string>(location?.state.tid);
const [menuId, setMenuId] = useState<string>(location?.state.menuId);
useSetHeaderTitle('사용자 설정');
useSetHeaderType(HeaderType.LeftArrow);
useSetFooterMode(true);
useSetOnBack(() => {
navigate(PATHS.account.user.accountAuth, {
state: {
tid: tid
}
});
navigate(PATHS.account.user.accountAuth);
});
useEffect(() => {
console.log('tid : ', tid);
console.log('menuId : ', menuId);
});
return (
<>
<main>
<div className="tab-content">
<div className="tab-pane sub active">
<div className="tab-pane pt-46 active">
<div className="ing-list sev">
<div className="desc service-tip"> .</div>
<div className="desc service-tip"> .</div>