}
@RequestMapping(value = "/follow/delete/{userId}", method = RequestMethod.POST)
public ModelAndView notFollow(HttpServletRequest request,
HttpServletResponse response, @PathVariable int userId) {
User user = userService.loginByCookie(request, response);
logger.debug("user:["+user+"]");
if(user != null){
userService.notFollow(userId, user.getId());
//ModelAndView mav = new ModelAndView("redirect:/user/follow");
ModelMap model = new ModelMap();
model.put("code", "200");
return new ModelAndView(new MappingJacksonJsonView(), model);
}