File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
src/main/java/com/somemore/center/controller Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 99import lombok .extern .slf4j .Slf4j ;
1010import org .springframework .security .core .annotation .AuthenticationPrincipal ;
1111import org .springframework .web .bind .annotation .PostMapping ;
12- import org .springframework .web .bind .annotation .RequestBody ;
1312import org .springframework .web .bind .annotation .RequestMapping ;
13+ import org .springframework .web .bind .annotation .RequestParam ;
1414import org .springframework .web .bind .annotation .RestController ;
1515
1616@ RestController
@@ -22,11 +22,15 @@ public class CenterSignController {
2222
2323 private final SignOutUseCase signOutUseCase ;
2424
25+ /*
26+ * 기관 로그인 엔드포인트
27+ * 실제 로그인 절차는 필터에서 처리됩니다.
28+ * 이 엔드포인트는 로그인 요청을 받아 필터에 의한 인증 절차를 수행합니다.
29+ */
2530 @ PostMapping ("/sign-in" )
2631 public ApiResponse <String > signIn (
27- @ RequestBody CenterSignRequestDto requestDto
32+ @ RequestParam CenterSignRequestDto requestDto
2833 ) {
29-
3034 return ApiResponse .ok ("로그인되었습니다." );
3135 }
3236
You can’t perform that action at this time.
0 commit comments