Commit dbfe1834 by huluobin

update

parent 621b1901
...@@ -27,7 +27,7 @@ public class SessionHandlerInterceptor implements HandlerInterceptor { ...@@ -27,7 +27,7 @@ public class SessionHandlerInterceptor implements HandlerInterceptor {
.stream() .stream()
.filter(item -> item.contains("BailunToken")) .filter(item -> item.contains("BailunToken"))
.findAny() .findAny()
.map(item -> item.replaceAll(" BailunToken=", "").trim()) .map(item -> item.replaceAll("BailunToken=", "").trim())
.orElseThrow(() -> new BizRuntimeException("400", "请先登陆")); .orElseThrow(() -> new BizRuntimeException("400", "请先登陆"));
SysUser sysUser = JwtUtil.validateToken(token); SysUser sysUser = JwtUtil.validateToken(token);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment