|
|
@ -162,7 +162,7 @@ public class WebUtil extends org.springframework.web.util.WebUtils { |
|
|
|
@NotNull |
|
|
|
@NotNull |
|
|
|
private static String[] splitClient(String header) { |
|
|
|
private static String[] splitClient(String header) { |
|
|
|
if (header == null || !header.startsWith(BASIC_)) { |
|
|
|
if (header == null || !header.startsWith(BASIC_)) { |
|
|
|
throw new CheckedException("请求头中client信息为空"); |
|
|
|
throw new CheckedException("请求头中client信息为空,请刷新当前页面重试!"); |
|
|
|
} |
|
|
|
} |
|
|
|
byte[] base64Token = header.substring(6).getBytes(StandardCharsets.UTF_8); |
|
|
|
byte[] base64Token = header.substring(6).getBytes(StandardCharsets.UTF_8); |
|
|
|
byte[] decoded; |
|
|
|
byte[] decoded; |
|
|
|