mirror of
https://github.com/chillzhuang/blade-tool
synced 2024-12-12 20:29:27 +08:00
🐛 修复 BUG
This commit is contained in:
parent
f58152a24f
commit
87f48a9fc0
@ -38,7 +38,7 @@ public class SecureInterceptor extends HandlerInterceptorAdapter {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) {
|
public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) {
|
||||||
if (null != SecureUtil.getUser().getUserId()) {
|
if (null != SecureUtil.getUser()) {
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
log.warn("签名认证失败,请求接口:{},请求IP:{},请求参数:{}", request.getRequestURI(), WebUtil.getIP(request), JsonUtil.toJson(request.getParameterMap()));
|
log.warn("签名认证失败,请求接口:{},请求IP:{},请求参数:{}", request.getRequestURI(), WebUtil.getIP(request), JsonUtil.toJson(request.getParameterMap()));
|
||||||
|
Loading…
Reference in New Issue
Block a user