diff --git a/README.md b/README.md new file mode 100644 index 0000000..244b18f --- /dev/null +++ b/README.md @@ -0,0 +1,38 @@ +# ☁️ Team Backend ☁️ +⭐️ YE;Summit 백엔드 레포지토리 +
+
+## 🧑‍💻 멤버 +| 이름 | 손수민 | 이예은 | +|:------:|:------:|:------:| +| 프로필 | | | +| 역할 | | | + +
+
+ +## 🧑‍💻 사용된 기술 스택 + +### 🛠️ Tool + +

+ +

+ +
+
+ +### 🚀 Deployment + +

+ +

+ +
+
+ +### 🗣️ Communication + +

+ +

diff --git a/src/main/java/univ/yesummit/domain/board/api/BoardController.java b/src/main/java/univ/yesummit/domain/board/api/BoardController.java index 0e93104..9583ddf 100644 --- a/src/main/java/univ/yesummit/domain/board/api/BoardController.java +++ b/src/main/java/univ/yesummit/domain/board/api/BoardController.java @@ -25,9 +25,6 @@ @RequestMapping("/v1/api/board") public class BoardController { private final BoardService boardService; - private Logger log; - - @Operation(summary = "PT 영상 및 정보 등록", description = "PT 영상 및 정보를 등록합니다.") @ApiResponses(value = { diff --git a/src/main/java/univ/yesummit/domain/board/application/BoardService.java b/src/main/java/univ/yesummit/domain/board/application/BoardService.java index 3301185..d6f1cd6 100644 --- a/src/main/java/univ/yesummit/domain/board/application/BoardService.java +++ b/src/main/java/univ/yesummit/domain/board/application/BoardService.java @@ -35,12 +35,10 @@ public class BoardService { // 게시글 저장 @Transactional public Long boardSave(Long memberId, BoardSaveReqDto boardSaveReqDto) { - log.info("Received BoardSaveReqDto: {}", boardSaveReqDto); Member member = memberRepository.findById(memberId) .orElseThrow(() -> new IllegalArgumentException("회원이 존재하지 않습니다. " + memberId)); Board board = boardSaveReqDto.toEntity(member); - log.info("Board object created: {}", board); List feeds = getFeedsByMember(member); boardImageSave(board, boardSaveReqDto.imageUrl(), feeds); diff --git a/src/main/java/univ/yesummit/domain/member/dto/MemberSignUpDTO.java b/src/main/java/univ/yesummit/domain/member/dto/MemberSignUpDTO.java index fa848df..00998a8 100644 --- a/src/main/java/univ/yesummit/domain/member/dto/MemberSignUpDTO.java +++ b/src/main/java/univ/yesummit/domain/member/dto/MemberSignUpDTO.java @@ -18,9 +18,6 @@ public record MemberSignUpDTO( @NotBlank(message = "연락처를 입력해주세요") String phoneNumber, - @NotBlank(message = "이메일을 입력해주세요") - String email, - @NotNull(message = "참여자 구분을 선택해주세요") UserType userType, // 청년 창업가 or 예비 투자자 @@ -45,7 +42,6 @@ public Member toEntity() { return Member.builder() .username(name) .phoneNumber(phoneNumber) - .email(email) .userType(userType) .company(company) .position(position)