Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 랭킹 조회 구현 #1

Merged
merged 1 commit into from
Jun 26, 2024
Merged

feat: 랭킹 조회 구현 #1

merged 1 commit into from
Jun 26, 2024

Conversation

zzdh8
Copy link
Collaborator

@zzdh8 zzdh8 commented Jun 26, 2024

벌레를 처리한 횟수에 따라 유저에게 순위를 매긴 결과값을 반환한다.

[
    {
        "nickname": "jin",
        "times": 100
    },
   ...
]

벌레를 처리한 횟수에 따라 유저에게 순위를 매긴 결과값을 반환한다.
@zzdh8 zzdh8 merged commit 148b204 into main Jun 26, 2024
2 checks passed
zzdh8 added a commit that referenced this pull request Jun 27, 2024
요청자가 벌레잡기를 요청하면 근처 헌터의 반경 내에서 포인트가 생기고 이 요청을 수락할 시에 요청 관리 테이블에 이 요청을 받은 헌터의 아이디가 갱신된다.
zzdh8 added a commit that referenced this pull request Jun 27, 2024
응답코드 200을 반환하고 "헌터 구인 요청 수락 완료"라는 문자열을 반환하도록 enum 클래스에 추가함.
zzdh8 added a commit that referenced this pull request Jun 27, 2024
- 요청 관리 테이블을 추가하여 이 테이블에서 각 요청에 대해 관리할 것이기 때문에 요청에 대한 정보(요청 아이디, 요청자)를 요청관리 테이블에 삽입하도록 코드를 추가함.
- 사실상 save 메소드가 반환하는 값은 없기 때문에 메소드 리턴 타입을 void로 변경함.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant