Spring Boot在aop中获取request对象

doBefore(){
 ServetRequestAttrbtes attributes = (ServetRequestAttrbtes)RequestContextHolder.getHttpattributes();
 HttpServletRequest request = attributes.getRequest();
}
原文地址:https://www.cnblogs.com/413xiaol/p/8331272.html