File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
src/main/java/io/geekidea/springbootplus/aop Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 3535import org .springframework .web .bind .annotation .RequestBody ;
3636import org .springframework .web .context .request .RequestContextHolder ;
3737import org .springframework .web .context .request .ServletRequestAttributes ;
38+ import org .springframework .web .multipart .MultipartFile ;
39+ import org .springframework .web .servlet .ModelAndView ;
3840
3941import javax .servlet .http .HttpServletRequest ;
4042import javax .servlet .http .HttpServletResponse ;
@@ -261,6 +263,12 @@ private Object argsArrayToJsonString(Object[] args) {
261263 if (arg instanceof HttpServletResponse ) {
262264 continue ;
263265 }
266+ if (arg instanceof MultipartFile ) {
267+ continue ;
268+ }
269+ if (arg instanceof ModelAndView ) {
270+ continue ;
271+ }
264272 realArgs .add (arg );
265273 }
266274 if (realArgs .size () == 1 ) {
You can’t perform that action at this time.
0 commit comments