(1)用户的登录 public void login(User user, HttpServletRequest request, HttpServletResponse response) {user.encodePassword();baseLogin(user, request, response);
}public void baseLogin(User user, HttpServletRequest request, HttpServletResponse response) {try…