Pre Merge pull request !295 from hjk2008/N/A

pull/295/MERGE
hjk2008 6 months ago committed by Gitee
commit 0b2b49daee
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

@ -22,7 +22,7 @@ public class FeignRequestInterceptor implements RequestInterceptor
public void apply(RequestTemplate requestTemplate)
{
HttpServletRequest httpServletRequest = ServletUtils.getRequest();
if (StringUtils.isNotNull(httpServletRequest))
if (httpServletRequest != null)
{
Map<String, String> headers = ServletUtils.getHeaders(httpServletRequest);
// 传递用户信息请求头,防止丢失

Loading…
Cancel
Save