[Feature] 내 정보 조회/수정 API (#17+#18) #62

Closed
opened 2026-02-10 01:45:26 +00:00 by seonkyu.kim · 0 comments
Owner

설명

인증된 관리자가 자신의 프로필 정보를 조회/수정할 수 있는 API를 구현한다.

  • API_Specification.md §3 Account API 참조
  • API_SPMS_03_ACCOUNT_04 (내 정보 조회)
  • API_SPMS_03_ACCOUNT_05 (내 정보 수정)

엔드포인트

  • POST /v1/in/account/profile/info — 내 정보 조회 [Authorize]
  • POST /v1/in/account/profile/update — 내 정보 수정 [Authorize]

구현 체크리스트

Application Layer

  • ProfileResponseDto.cs — 응답 DTO (admin_code, email, name, phone, role, created_at)
  • UpdateProfileRequestDto.cs — 수정 요청 DTO (name?, phone?)
  • IAuthService.cs — GetProfileAsync, UpdateProfileAsync 추가
  • AuthService.cs — 위 2개 구현

API Layer

  • ProfileController.cs — Route: v1/in/account/profile, [Authorize]

검증

  • dotnet build 성공
  • Swagger 엔드포인트 확인
## 설명 인증된 관리자가 자신의 프로필 정보를 조회/수정할 수 있는 API를 구현한다. - API_Specification.md §3 Account API 참조 - `API_SPMS_03_ACCOUNT_04` (내 정보 조회) - `API_SPMS_03_ACCOUNT_05` (내 정보 수정) ## 엔드포인트 - `POST /v1/in/account/profile/info` — 내 정보 조회 [Authorize] - `POST /v1/in/account/profile/update` — 내 정보 수정 [Authorize] ## 구현 체크리스트 ### Application Layer - [x] `ProfileResponseDto.cs` — 응답 DTO (admin_code, email, name, phone, role, created_at) - [x] `UpdateProfileRequestDto.cs` — 수정 요청 DTO (name?, phone?) - [x] `IAuthService.cs` — GetProfileAsync, UpdateProfileAsync 추가 - [x] `AuthService.cs` — 위 2개 구현 ### API Layer - [x] `ProfileController.cs` — Route: `v1/in/account/profile`, [Authorize] ### 검증 - [x] `dotnet build` 성공 - [x] Swagger 엔드포인트 확인
seonkyu.kim added the
Priority
Medium
Status
Available
Type
Feature
labels 2026-02-10 01:45:32 +00:00
seonkyu.kim self-assigned this 2026-02-10 01:45:36 +00:00
seonkyu.kim added this to the Phase 1: 인프라 & 공통 모듈 milestone 2026-02-10 01:45:37 +00:00
seonkyu.kim modified the milestone from Phase 1: 인프라 & 공통 모듈 to Phase 2-1: 인증 & 계정 & 서비스 API 2026-02-10 01:45:51 +00:00
seonkyu.kim added
Status
Done
and removed
Status
Available
labels 2026-02-10 02:00:27 +00:00
Sign in to join this conversation.
No description provided.