암호변경이 작동하지 않아서 @RequestParam 에서 @RequestBody로 변경

main
kimilguk 1 year ago
parent b9f1953f39
commit 8deeaad998

@ -8,7 +8,7 @@ import javax.servlet.http.HttpServletRequest;
import org.springframework.security.core.annotation.AuthenticationPrincipal;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;
import egovframework.com.cmm.LoginVO;
@ -41,7 +41,7 @@ import lombok.extern.slf4j.Slf4j;
* ------- -------- ---------------------------
* 2023.04.15
* 2023.04.20
*
* 2024.07.17 @RequestParam @RequestBody
* </pre>
*/
@Slf4j
@ -104,7 +104,7 @@ public class EgovSiteManagerApiController {
ref = "#/components/schemas/passwordMap"),
style = ParameterStyle.FORM,
explode = Explode.TRUE
) @RequestParam Map<String, String> param, HttpServletRequest request,
) @RequestBody Map<String, String> param, HttpServletRequest request,
@Parameter(hidden = true) @AuthenticationPrincipal LoginVO user) throws Exception {
ResultVO resultVO = new ResultVO();

Loading…
Cancel
Save