示例#1
0
 @RequestMapping(value = "users", method = RequestMethod.POST)
 public String sendJoin(User user) {
   userService.registUser(user);
   return "jsonView";
 }
示例#2
0
 @RequestMapping(value = "users", method = RequestMethod.GET)
 public String join(ModelMap map) {
   List<User> joinList = userService.getJoin();
   map.put("joinKey", joinList);
   return "jsonView";
 }