|
@@ -18,6 +18,7 @@ import org.slf4j.LoggerFactory;
|
|
18
|
import org.springframework.beans.factory.annotation.Autowired;
|
18
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
19
|
import org.springframework.http.HttpMethod;
|
19
|
import org.springframework.http.HttpMethod;
|
|
20
|
import org.springframework.stereotype.Component;
|
20
|
import org.springframework.stereotype.Component;
|
|
|
|
21
|
+import org.springframework.validation.BindingResult;
|
|
21
|
import org.springframework.web.multipart.MultipartFile;
|
22
|
import org.springframework.web.multipart.MultipartFile;
|
|
22
|
import com.alibaba.fastjson.JSON;
|
23
|
import com.alibaba.fastjson.JSON;
|
|
23
|
import com.ruoyi.common.core.utils.SecurityUtils;
|
24
|
import com.ruoyi.common.core.utils.SecurityUtils;
|
|
@@ -236,6 +237,7 @@ public class LogAspect
|
|
236
|
return entry.getValue() instanceof MultipartFile;
|
237
|
return entry.getValue() instanceof MultipartFile;
|
|
237
|
}
|
238
|
}
|
|
238
|
}
|
239
|
}
|
|
239
|
- return o instanceof MultipartFile || o instanceof HttpServletRequest || o instanceof HttpServletResponse;
|
|
|
|
|
|
240
|
+ return o instanceof MultipartFile || o instanceof HttpServletRequest || o instanceof HttpServletResponse
|
|
|
|
241
|
+ || o instanceof BindingResult;
|
|
240
|
}
|
242
|
}
|
|
241
|
}
|
243
|
}
|