commit
						bc7a743998
					
				| @ -31,6 +31,11 @@ public class FeignRequestInterceptor implements RequestInterceptor | |||||||
|             { |             { | ||||||
|                 requestTemplate.header(SecurityConstants.DETAILS_USER_ID, userId); |                 requestTemplate.header(SecurityConstants.DETAILS_USER_ID, userId); | ||||||
|             } |             } | ||||||
|  |             String userKey = headers.get(SecurityConstants.USER_KEY); | ||||||
|  |             if (StringUtils.isNotEmpty(userKey)) | ||||||
|  |             { | ||||||
|  |                 requestTemplate.header(SecurityConstants.USER_KEY, userKey); | ||||||
|  |             } | ||||||
|             String userName = headers.get(SecurityConstants.DETAILS_USERNAME); |             String userName = headers.get(SecurityConstants.DETAILS_USERNAME); | ||||||
|             if (StringUtils.isNotEmpty(userName)) |             if (StringUtils.isNotEmpty(userName)) | ||||||
|             { |             { | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 若依
						若依