import org.springframework.web.context.request.RequestContextHolder;
import org.springframework.web.context.request.ServletRequestAttributes;
ServletRequestAttributes servlet = (ServletRequestAttributes) RequestContextHolder
.currentRequestAttributes();
springboot中取得request
猜你喜欢
转载自blog.csdn.net/tianlong1569/article/details/89407826
今日推荐
周排行