Skip to content

Commit 9b7b803

Browse files
authored
Merge branch 'main' into main
2 parents e70e82b + daad2de commit 9b7b803

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/java/com/example/Jinus/controller/v2/NoticeControllerV2.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
import com.example.Jinus.service.v2.notice.NoticeServiceV2;
55
import com.example.Jinus.service.v2.userInfo.DepartmentServiceV2;
66
import com.example.Jinus.service.v2.userInfo.UserServiceV2;
7+
import com.fasterxml.jackson.databind.ObjectMapper;
78
import lombok.RequiredArgsConstructor;
9+
import org.springframework.beans.factory.annotation.Autowired;
810
import org.springframework.web.bind.annotation.PostMapping;
911
import org.springframework.web.bind.annotation.RequestBody;
1012
import org.springframework.web.bind.annotation.RequestMapping;
@@ -18,6 +20,8 @@ public class NoticeControllerV2 {
1820
private final NoticeServiceV2 noticeServiceV2;
1921
private final DepartmentServiceV2 departmentServiceV2;
2022
private final UserServiceV2 userServiceV2;
23+
@Autowired
24+
private ObjectMapper objectMapper;
2125

2226
// 학교 공지사항 조회
2327
@PostMapping("/v2/main-notice")

0 commit comments

Comments
 (0)