Skip to content

Commit 2414d3e

Browse files
committed
feat(center-login): 기관 로그인 컨트롤러
1 parent 6180218 commit 2414d3e

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/main/java/com/somemore/center/controller/CenterSignController.java

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
import lombok.extern.slf4j.Slf4j;
1010
import org.springframework.security.core.annotation.AuthenticationPrincipal;
1111
import org.springframework.web.bind.annotation.PostMapping;
12-
import org.springframework.web.bind.annotation.RequestBody;
1312
import org.springframework.web.bind.annotation.RequestMapping;
13+
import org.springframework.web.bind.annotation.RequestParam;
1414
import 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

0 commit comments

Comments
 (0)