EmployeeController类的员工退出logout方法
@PostMapping("/logout")
public R<String> logout(HttpServletRequest request) {
//1、清理Session中的用户id
//2、返回结果
request.getSession().removeAttribute("employee");
return R.success("退出成功");
}
==============================================