Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
5e379f37
Commit
5e379f37
authored
Jan 10, 2022
by
季圣华
Browse files
解决登录超时后不跳转的bug(优化)
parent
50af84a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
jshERP-boot/src/main/java/com/jsh/erp/filter/LogCostFilter.java
View file @
5e379f37
...
...
@@ -77,7 +77,9 @@ public class LogCostFilter implements Filter {
}
}
servletResponse
.
setStatus
(
500
);
servletResponse
.
getWriter
().
write
(
"loginOut"
);
if
(
requestUrl
!=
null
&&
!
requestUrl
.
contains
(
"/user/logout"
)
&&
!
requestUrl
.
contains
(
"/function/findMenuByPNumber"
))
{
servletResponse
.
getWriter
().
write
(
"loginOut"
);
}
}
private
static
String
regexPrefix
=
"^.*"
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment