-
Notifications
You must be signed in to change notification settings - Fork 2
215 feat 제휴업체 기능 개발 #218
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
215 feat 제휴업체 기능 개발 #218
The head ref may contain hidden characters: "215-feat-\uC81C\uD734\uC5C5\uCCB4-\uAE30\uB2A5-\uAC1C\uBC1C"
Conversation
fix : Google Access_Token 세션 저장 후 로그아웃
fix : 강의 후기 Participants 반환 오류 수정 완료
fix : 게시글 반환 시 자신의 게시글인지 확인하는 isMine 변수 추가
fix : 베스트 게시글 Scheduler 및 조회 시에 삭제된 게시글에 대해 확인 및 데이터 삭제
chore : Swagger ADMIN만 접근 권한 부여
- EmailAuthService와 EmailSendService 계층 분리 - 과거 EmailAuthService을 JoinEmailAuthService와 PasswordResetEmailService로 책임 분리 - EmailSendService에서 EmailTemplateService로 변경을 통해 이메일 전송 역할 명확화
아래와 같은 세가지에 대해서 테스트를 작성했습니다. - EmailTemplateServiceTest - JoinEmailAuthServiceTest - PasswordResetEmailServiceTest 테스트시 객체 생성 메서드가 없기에 두개의 DTO 클래스에 Builder를 추가했습니다. - JoinEmailCheckRequestDto - JoinEmailSendRequestDto
doma17
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
추가적으로 기능이 더 추가된다면 PartnerService를 Read, Write(Delete 포함)으로 나누어도 좋을 것 같아요.
src/main/java/inu/codin/codin/common/exception/GlobalExceptionHandler.java
Outdated
Show resolved
Hide resolved
src/main/java/inu/codin/codin/domain/info/service/PartnerService.java
Outdated
Show resolved
Hide resolved
src/main/java/inu/codin/codin/domain/info/service/PartnerService.java
Outdated
Show resolved
Hide resolved
gisu1102
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
확인완료했습니다
#️⃣ 연관된 이슈
📝 작업 내용
제휴업체를 반환하는 기능과 추후에 관리자가 제휴업체를 관리할 가능성이 있어, 생성 삭제 로직까지만 제작하였습니다.
이에 대한 테스트까지 진행하였습니다.
아직 실제 제휴업체의 정보를 받지 못하여서 더미 데이터를 넣어 놓고 진행하였습니다.
'Department` 에서 직렬화하는 과정에서 오류가 나서 수정하였습니다.
스크린샷 (선택)
ROLE이 "USER" 인 유저가 제휴업체를 생성하거나 삭제할 경우 -> Access Denied 오류

더미 데이터 내용
[{ "_id": { "$oid": "686388cc0f24350acbee1b8d" }, "name": "홍콩반점 송도점", "tags": [ "COMPUTER_SCI", "EMBEDDED" ], "benefits": [ "탕수육 주문 시, 탕수육 공짜!", "평일 언제나 80% 대박 할인!" ], "startDate": { "$date": "2025-02-28T15:00:00.000Z" }, "endDate": { "$date": "2026-02-28T15:00:00.000Z" }, "img": { "main": "https://codin-s3-bucket.s3.ap-northeast-2.amazonaws.com/d1bf2a2d-efac-4c6c-9239-cd0876705d47.png", "sub": [ "https://codin-s3-bucket.s3.ap-northeast-2.amazonaws.com/44db3472-8981-4ff6-8e90-4669eca3abd8.jpg", "https://codin-s3-bucket.s3.ap-northeast-2.amazonaws.com/99390def-3eb7-456e-9712-23bf8793b021.jpg" ] }, "_class": "inu.codin.codin.domain.info.entity.Partner", "location": "인천 연수구 송도동 3-2" }, { "_id": { "$oid": "68638efc8f1ee454fe6c9225" }, "name": "이미지 없는 제휴업체", "tags": [ "COMPUTER_SCI", "INFO_COMM", "EMBEDDED" ], "benefits": [ "탕수육 주문 시, 탕수육 공짜!", "평일 언제나 80% 대박 할인!" ], "startDate": { "$date": "2025-02-28T15:00:00.000Z" }, "endDate": { "$date": "2026-02-28T15:00:00.000Z" }, "location": "인천 연수구 송도동 3-2", "img": { "sub": [] }, "_class": "inu.codin.codin.domain.info.entity.Partner" }, { "_id": { "$oid": "686390968f1ee454fe6c9226" }, "name": "메가커피 송도 센트럴파크점", "tags": [ "IT_COLLEGE", "INFO_COMM" ], "benefits": [ "매주 수요일 아메리카노 50% 할인!", "도장 10장 적립 시, 어떤 음료라도 무료 제공" ], "startDate": { "$date": "2025-02-28T15:00:00.000Z" }, "endDate": { "$date": "2026-02-28T15:00:00.000Z" }, "location": "인천광역시 연수구 하모니로 138번길 11 1층", "img": { "main": "https://codin-s3-bucket.s3.ap-northeast-2.amazonaws.com/b888c55d-b964-4e0f-9706-aa428ec425f8.png", "sub": [ "https://codin-s3-bucket.s3.ap-northeast-2.amazonaws.com/f08343d3-7b84-42fb-bd45-4ee0206df7c4.jpg" ] }, "_class": "inu.codin.codin.domain.info.entity.Partner" }]💬 리뷰 요구사항(선택)