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: 공연 예매/지원자 통계 조회 API #91

Merged
merged 5 commits into from
Nov 16, 2024
Merged

Conversation

yumzen
Copy link
Member

@yumzen yumzen commented Nov 11, 2024

#️⃣연관된 이슈

📝작업 내용

  • 공연 정보 조회
  • 지원 정보 조회
  • 공연 예매 통계 조회
  • 지원자 통계 조회

스크린샷 (선택)

💬리뷰 요구사항(선택)

리뷰어가 특별히 봐주었으면 하는 부분이 있다면 작성해주세요

ex) 메서드 XXX의 이름을 더 잘 짓고 싶은데 혹시 좋은 명칭이 있을까요?

@yumzen yumzen added the ✨ Feature 기능 개발 label Nov 11, 2024
@yumzen yumzen requested review from kjiyun and woogieon8on November 11, 2024 02:40
@yumzen yumzen self-assigned this Nov 11, 2024
GraphResponse graph,
@Schema(description = "총 수입", example = "1000000")
Long totalIncome
) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

하나의 클래스로 관련된 DTO를 관리하니까 프로젝트 구조가 간결해지는 것 같습니다
배워갑니다!!

@@ -50,6 +51,8 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
);
http.authorizeHttpRequests((authorize) -> authorize
.requestMatchers( "/api-docs/**", "/swagger-ui/**", "/swagger-ui.html/**", "/v3/api-docs/**", "/swagger-ui/index.html#/**").permitAll()
.requestMatchers(HttpMethod.GET, "/v1/admin/tickets/**").permitAll()
.requestMatchers(HttpMethod.GET, "/v1/admin/apply/**").permitAll()
Copy link
Collaborator

Choose a reason for hiding this comment

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

혹시 GET 메서드 요청에 대해 permitAll() 설정을 적용하신 이유가 있을까요?

Copy link
Member Author

Choose a reason for hiding this comment

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

공연정보/지원정보 조회에 대해서만 permitAll 설정을 해둔다는게 엔드포인트를 잘못작성했네요 수정하겠습니다!

Copy link
Collaborator

@kjiyun kjiyun left a comment

Choose a reason for hiding this comment

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

코드 구성이 잘 되어있어서 보기에도 편합니다. 수고많으셨습니당 !!

@yumzen yumzen merged commit e04c257 into kahluaband:main Nov 16, 2024
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.

3 participants