修改LogAspect中日志判断逻辑
This commit is contained in:
parent
57d5a519af
commit
eea50fdd4b
@ -80,7 +80,7 @@ public class LogAspect {
|
|||||||
//过滤掉spring的一些http请求信息,下面的转jsonstring会抛异常
|
//过滤掉spring的一些http请求信息,下面的转jsonstring会抛异常
|
||||||
if (args != null && args.length > 0) {
|
if (args != null && args.length > 0) {
|
||||||
for (Object arg1 : args) {
|
for (Object arg1 : args) {
|
||||||
if (arg instanceof HttpServletResponse) {
|
if (arg1 instanceof HttpServletResponse) {
|
||||||
continue;
|
continue;
|
||||||
} else if (arg1 instanceof HttpServletRequest) {
|
} else if (arg1 instanceof HttpServletRequest) {
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user