Commit 90cf2390 by henry

删除多余的代码

1 parent d02c15b4
...@@ -150,15 +150,6 @@ public class AutoLogConfigAspect { ...@@ -150,15 +150,6 @@ public class AutoLogConfigAspect {
for (int i = 0; i < args.length; i++) { for (int i = 0; i < args.length; i++) {
if (args[i] instanceof ServletRequest || args[i] instanceof ServletResponse if (args[i] instanceof ServletRequest || args[i] instanceof ServletResponse
|| args[i] instanceof MultipartFile) { || args[i] instanceof MultipartFile) {
// ServletRequest不能序列化,从入参里排除,否则报异常:java.lang.IllegalStateException:
// It is illegal to call this method if the current
// request is not in asynchronous mode (i.e.
// isAsyncStarted() returns false)
// ServletResponse不能序列化
// 从入参里排除,否则报异常:java.lang.IllegalStateException:
// getOutputStream() has already been called for
// this
// response
continue; continue;
} }
arguments[i] = args[i]; arguments[i] = args[i];
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!