67,513
社区成员
发帖
与我相关
我的任务
分享
@RequestMapping("update")
public Object update(Author author,HttpServletRequest request){
authorService.updateByDyn(author);
author=authorService.selectByPw(author);
author.setSeniority();
request.getSession().setAttribute("author", author);
request.setAttribute("author", author);
ModelAndView view= new ModelAndView("adminZone/author/authorInf");
//view.addObject("author", author);
return view;
}