Skip to content

Comments

feat: 그루밍 테스트 가능 여부 조회 기능 구현#84

Merged
hisonghy merged 3 commits intodevelopfrom
feature/grooming-test-available-83
Apr 7, 2025
Merged

feat: 그루밍 테스트 가능 여부 조회 기능 구현#84
hisonghy merged 3 commits intodevelopfrom
feature/grooming-test-available-83

Conversation

@hisonghy
Copy link
Member

@hisonghy hisonghy commented Apr 7, 2025

🌱 관련 이슈

📌 작업 내용 및 특이사항

  • 인증된 유저의 그루밍 테스트 가능 여부를 체크하기 위한 기능 구현했습니다
  • 요청한 시간과 요청한 유저의 마지막 그루밍 테스트 날짜의 차이를 비교해서 7일 이내라면 불가능하다는 응답을 주고 그 이외의 경우엔 모두 가능하다는 응답을 내려주도록 설계했습니다
  • 시간 단위와 일 단위로 계산하는 방법 중 일 단위로 계산하는 방법으로 구현했습니다

🔍 참고사항

  • 테스트 간격을 시간 기준(168시간)으로 제한할 경우 사용자가 혼동할 수도 있다는 생각이 들어서 사용자 경험 측면에서 더 직관적인 날짜 단위(LocalDate) 기준으로 테스트 가능 여부를 판단할 수 있도록 일 단위 계산 방식을 채택

📚 기타

@hisonghy hisonghy added the ⚡ feature 새로운 기능 추가 및 수정 label Apr 7, 2025
@hisonghy hisonghy requested a review from myqewr April 7, 2025 08:13
@hisonghy hisonghy self-assigned this Apr 7, 2025
Copy link
Member

@myqewr myqewr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

수고하셨습니다🔥

@hisonghy hisonghy merged commit fb25277 into develop Apr 7, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

⚡ feature 새로운 기능 추가 및 수정

Projects

None yet

Development

Successfully merging this pull request may close these issues.

⚡ 그루밍 테스트 가능 여부 조회 api 구현

2 participants