正在显示
1 个修改的文件
包含
3 行增加
和
1 行删除
| @@ -16,6 +16,7 @@ import org.aspectj.lang.reflect.MethodSignature; | @@ -16,6 +16,7 @@ import org.aspectj.lang.reflect.MethodSignature; | ||
| 16 | import org.slf4j.Logger; | 16 | import org.slf4j.Logger; |
| 17 | import org.slf4j.LoggerFactory; | 17 | import org.slf4j.LoggerFactory; |
| 18 | import org.springframework.stereotype.Component; | 18 | import org.springframework.stereotype.Component; |
| 19 | +import org.springframework.validation.BindingResult; | ||
| 19 | import org.springframework.web.multipart.MultipartFile; | 20 | import org.springframework.web.multipart.MultipartFile; |
| 20 | import org.springframework.web.servlet.HandlerMapping; | 21 | import org.springframework.web.servlet.HandlerMapping; |
| 21 | import com.alibaba.fastjson.JSON; | 22 | import com.alibaba.fastjson.JSON; |
| @@ -237,6 +238,7 @@ public class LogAspect | @@ -237,6 +238,7 @@ public class LogAspect | ||
| 237 | return entry.getValue() instanceof MultipartFile; | 238 | return entry.getValue() instanceof MultipartFile; |
| 238 | } | 239 | } |
| 239 | } | 240 | } |
| 240 | - return o instanceof MultipartFile || o instanceof HttpServletRequest || o instanceof HttpServletResponse; | 241 | + return o instanceof MultipartFile || o instanceof HttpServletRequest || o instanceof HttpServletResponse |
| 242 | + || o instanceof BindingResult; | ||
| 241 | } | 243 | } |
| 242 | } | 244 | } |
-
请 注册 或 登录 后发表评论