在spring aop中获取sesion和request对象: RequestAttributes ra = RequestContextHolder.getRequestAttributes(); ServletRequestAttributes sra = (ServletRequestAttributes) ra; HttpServletRequest request = sra.getRequest(); HttpSession session = request.getSession();
在spring aop中获取sesion和request对象
最新推荐文章于 2024-07-17 02:36:28 发布