|
|
|
@ -34,7 +34,7 @@ public class MainController extends AbstractController {
|
|
|
|
|
return "login";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@GetMapping(name="회원가입 페이지", value="/error/signupPage.do")
|
|
|
|
|
@GetMapping(name="회원가입 페이지", value="/signupPage.do")
|
|
|
|
|
public ModelAndView signupPage(String institute) {
|
|
|
|
|
ModelAndView mav = new ModelAndView("fims/user/user-info");
|
|
|
|
|
|
|
|
|
@ -51,7 +51,7 @@ public class MainController extends AbstractController {
|
|
|
|
|
return mav;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@RequestMapping(name="회원가입", value="/error/signup.do")
|
|
|
|
|
@RequestMapping(name="회원가입", value="/signup.do")
|
|
|
|
|
public ModelAndView signup(ManagedUser user) {
|
|
|
|
|
ModelAndView mav = new ModelAndView("jsonView");
|
|
|
|
|
|
|
|
|
@ -61,14 +61,14 @@ public class MainController extends AbstractController {
|
|
|
|
|
return mav;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@RequestMapping(name="중복 확인", value="/error/duplicate.do")
|
|
|
|
|
@RequestMapping(name="중복 확인", value="/duplicate.do")
|
|
|
|
|
public ModelAndView isDuplicate(String account, String institute) {
|
|
|
|
|
ManagedUser user = userService.getUser(account, institute);
|
|
|
|
|
return new ModelAndView("jsonView")
|
|
|
|
|
.addObject("duplicate", user != null);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@RequestMapping(name="기관 목록", value="/error/instList.do")
|
|
|
|
|
@RequestMapping(name="기관 목록", value="/instList.do")
|
|
|
|
|
public ModelAndView instList(String account, String institute) {
|
|
|
|
|
List<DataObject> instList = factionMapper.selectAllInstList();
|
|
|
|
|
return new ModelAndView("jsonView")
|
|
|
|
|