로그인 성공 데이터 받아야함
This commit is contained in:
@@ -9,6 +9,7 @@ import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.ResponseBody;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
|
||||
@@ -16,7 +17,8 @@ import org.springframework.web.bind.annotation.RestController;
|
||||
public class LoginController {
|
||||
|
||||
@PostMapping("login/oauth-kakao")
|
||||
public Map<String, Object> kakaoLogin() {
|
||||
public Map<String, Object> kakaoLogin(ResponseBody entity) {
|
||||
System.out.println(entity);
|
||||
HttpClient client = HttpClient.newHttpClient();
|
||||
Map<String, Object> returnValue = new HashMap<>();
|
||||
HttpRequest request = HttpRequest.newBuilder()
|
||||
|
||||
Reference in New Issue
Block a user