Skip to content

[web-33-2] 관리자 메인 모집기간 수정 API 구현#18

Closed
Chunwol wants to merge 1 commit into
feature/web-33-1from
feature/web-33-2
Closed

[web-33-2] 관리자 메인 모집기간 수정 API 구현#18
Chunwol wants to merge 1 commit into
feature/web-33-1from
feature/web-33-2

Conversation

@Chunwol
Copy link
Copy Markdown
Member

@Chunwol Chunwol commented May 20, 2026

작업 내용

관리자 페이지에서 모집 시작/종료일을 수정할 수 있는 API를 구현합니다.

변경 사항

  • PATCH /api/admin/main/recruitment 엔드포인트 구현
  • MainRecruitmentUpdateRequestDto, MainRecruitmentResponseDto 추가
  • isRecruiting 필드: booleanBoolean (Jackson 직렬화 버그 수정)
    • boolean + @GetterisRecruiting() → JSON에서 "recruiting" 으로 직렬화되는 문제
    • Boolean 으로 변경 시 getIsRecruiting() → JSON에서 "isRecruiting" 정상 직렬화

테스트

  • PATCH /api/admin/main/recruitment → 200 OK
  • 오늘 날짜 포함 범위: isRecruiting = true ✅
  • 미래 날짜 범위: isRecruiting = false ✅

@Chunwol Chunwol requested review from chldPDms and marianddi May 20, 2026 11:16
@Chunwol Chunwol self-assigned this May 20, 2026
@Chunwol Chunwol added the enhancement New feature or request label May 20, 2026
@Chunwol Chunwol closed this May 23, 2026
@Chunwol Chunwol deleted the feature/web-33-2 branch May 23, 2026 07:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant