File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
src/main/java/com/example/Jinus/controller/v2 Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 44import com .example .Jinus .service .v2 .notice .NoticeServiceV2 ;
55import com .example .Jinus .service .v2 .userInfo .DepartmentServiceV2 ;
66import com .example .Jinus .service .v2 .userInfo .UserServiceV2 ;
7+ import com .fasterxml .jackson .databind .ObjectMapper ;
78import lombok .RequiredArgsConstructor ;
9+ import org .springframework .beans .factory .annotation .Autowired ;
810import org .springframework .web .bind .annotation .PostMapping ;
911import org .springframework .web .bind .annotation .RequestBody ;
1012import 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" )
You can’t perform that action at this time.
0 commit comments