Skip to content

Conversation

@kangcheolung
Copy link
Collaborator

🛰️ Issue Number

🪐 작업 내용

스크린샷 (선택)

💬리뷰 요구사항(선택)

- PR 생성 시 테스트 자동 실행 추가
- develop 브랜치 배포 트리거 추가
- test와 deploy job 분리하여 워크플로우 개선"
- getUserCamInfoId() 메서드 추가: UserCamInfo ID 반환
- isCampusCertified() 메서드 추가: 학교 인증 여부 확인
- Controller에서 안전하게 사용자 정보 접근 가능하도록 개선"
refactor: CustomOAuth2User에 UserCamInfo 관련 메서드 추가
- develop/main 브랜치 푸시 시에만 배포 실행
- GET /api/majors/list → GET /api/majors
- GET /api/majors/detail?majorId={id} → GET /api/majors/{id}
- POST /api/majors/select → PUT /api/majors/{id}
- MajorRequest DTO 제거 (PathVariable로 대체)
- @AuthenticationPrincipal로 사용자 정보 안전하게 획득
- userId를 RequestBody에서 받지 않고 세션에서 자동 처리"
refactor: MajorController, CampusController RESTful API 개선
- POST /api/studies/create → POST /api/studies
- GET /api/studies/detail → GET /api/studies/{id}
- POST /api/studies/update → PUT /api/studies/{id}
- POST /api/studies/delete → DELETE /api/studies/{id}
- GET /api/studies/list → GET /api/studies
- @AuthenticationPrincipal로 userCamInfoId 자동 획득
refactor: StudyPostController RESTful API 개선
refactor: Study 관련 Controller RESTful API 개선
- GET /api/notifications/list → GET /api/notifications
- GET /api/notifications/detail → GET /api/notifications/{id}
- POST /api/notifications/read → PUT /api/notifications/{id}/read
- POST /api/notifications/read/all → PUT /api/notifications/read-all
- DELETE /api/notifications/delete → DELETE /api/notifications/{id}
- @AuthenticationPrincipal로 userCamInfoId 자동 획득
refactor: NotificationController RESTful API 개선
@kangcheolung kangcheolung merged commit d4f9ba2 into main Nov 10, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants