Skip to content

Commit

Permalink
Merge pull request #49 from 9oormthon-univ/dev
Browse files Browse the repository at this point in the history
sinup 이메일 안 받도록
  • Loading branch information
sumin220 authored Nov 23, 2024
2 parents 9b226b7 + 8253b99 commit fc0f394
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 9 deletions.
38 changes: 38 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# ☁️ Team Backend ☁️
⭐️ YE;Summit 백엔드 레포지토리
<br>
<br>
## 🧑‍💻 멤버
| 이름 | 손수민 | 이예은 |
|:------:|:------:|:------:|
| 프로필 | <img src="https://avatars.githubusercontent.com/u/173463176?v=4"/> | <img src="https://avatars.githubusercontent.com/u/159096610?v=4"/> |
| 역할 | <img src="https://skillicons.dev/icons?i=spring"> | <img src="https://skillicons.dev/icons?i=spring"> |

<br>
<br>

## 🧑‍💻 사용된 기술 스택

### 🛠️ Tool

<p align="center">
<img src="https://skillicons.dev/icons?i=java"><img src="https://skillicons.dev/icons?i=spring"><img src="https://skillicons.dev/icons?i=mysql"><img src="https://skillicons.dev/icons?i=docker">
</p>

<br>
<br>

### 🚀 Deployment

<p align="center">
<img src="https://skillicons.dev/icons?i=aws"><img src="https://skillicons.dev/icons?i=nginx">
</p>

<br>
<br>

### 🗣️ Communication

<p align="center">
<img src="https://skillicons.dev/icons?i=figma"><img src="https://skillicons.dev/icons?i=notion"><img src="https://skillicons.dev/icons?i=discord">
</p>
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<Feed> feeds = getFeedsByMember(member);
boardImageSave(board, boardSaveReqDto.imageUrl(), feeds);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ public record MemberSignUpDTO(
@NotBlank(message = "연락처를 입력해주세요")
String phoneNumber,

@NotBlank(message = "이메일을 입력해주세요")
String email,

@NotNull(message = "참여자 구분을 선택해주세요")
UserType userType, // 청년 창업가 or 예비 투자자

Expand All @@ -45,7 +42,6 @@ public Member toEntity() {
return Member.builder()
.username(name)
.phoneNumber(phoneNumber)
.email(email)
.userType(userType)
.company(company)
.position(position)
Expand Down

0 comments on commit fc0f394

Please sign in to comment.