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
requested changes
Jul 1, 2025
Contributor
doma17
left a comment
There was a problem hiding this comment.
추가적으로 기능이 더 추가된다면 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#️⃣ 연관된 이슈
📝 작업 내용
제휴업체를 반환하는 기능과 추후에 관리자가 제휴업체를 관리할 가능성이 있어, 생성 삭제 로직까지만 제작하였습니다.
이에 대한 테스트까지 진행하였습니다.
아직 실제 제휴업체의 정보를 받지 못하여서 더미 데이터를 넣어 놓고 진행하였습니다.
'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" }]💬 리뷰 요구사항(선택)