HttpServletRequest request = ((ServletRequestAttributes)RequestContextHolder.getRequestAttributes()).getRequest();
request.getSession().getAttribute("userInfo")
标签:info getattr gpo attr att use class context attribute
HttpServletRequest request = ((ServletRequestAttributes)RequestContextHolder.getRequestAttributes()).getRequest();
request.getSession().getAttribute("userInfo")
标签:info getattr gpo attr att use class context attribute
原文地址:https://www.cnblogs.com/cailijuan/p/8717492.html