계정정보 변경 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; return mav;
} }
@RequestMapping(name="내 정보 변경", value="/updateMyInfo.do")
public ModelAndView updateMyInfo(ManagedUser user) {
return super.update(user);
}
@RequestMapping(name="비밀번호 변경 화면",value="/openChangePassword.do") @RequestMapping(name="비밀번호 변경 화면",value="/openChangePassword.do")
public ModelAndView openChangePassword() { public ModelAndView openChangePassword() {
ModelAndView mav = new ModelAndView("fims/user/password-info"); ModelAndView mav = new ModelAndView("fims/user/password-info");

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

Loading…
Cancel
Save