계정정보 변경 URL 수정

main
이범준 11 months ago
parent dcf88de35f
commit def7c76dce

@ -107,6 +107,11 @@ public class UserController extends cokr.xit.base.user.web.UserController<Manage
return mav;
}
@RequestMapping(name="내 정보 변경", value="/updateMyInfo.do")
public ModelAndView updateMyInfo(ManagedUser user) {
return super.update(user);
}
@RequestMapping(name="비밀번호 변경 화면",value="/openChangePassword.do")
public ModelAndView openChangePassword() {
ModelAndView mav = new ModelAndView("fims/user/password-info");

@ -301,7 +301,7 @@ function save(info){
var create = isEmpty(info.id)
ajax.post({
url:!create ? userControl.urls.update : wctx.url("/signup.do"),
url:!create ? wctx.url("/user/updateMyInfo.do") : wctx.url("/signup.do"),
data:info,
success: (resp) => {
if(resp.saved){

Loading…
Cancel
Save