document
API test
POST

Description or Example

# 核心代码 ```java @GetMapping("/logout") public ModelAndView logout(ModelAndView mv, HttpSession session) { session.removeAttribute(UserConstant.SESSION_USER_NAME); // 如果不存在不会干任何事, 因此, 不需要非空判断 mv.setViewName("redirect:http://www.bitmall.com/"); return mv; } ```