Commit fc6b96e0 authored by yanzg's avatar yanzg

接口文档的支持

parent 77471e09
......@@ -14,6 +14,7 @@ import org.aspectj.lang.ProceedingJoinPoint;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.ApplicationContext;
import org.springframework.web.multipart.MultipartFile;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
......@@ -121,7 +122,7 @@ public class BaseRequestAspect implements ThreadNext.Next {
protected List<Object> getDataParameters(Object[] args) {
List<Object> para = new ArrayList<>();
for (Object item : args) {
if (item instanceof HttpServlet || item instanceof HttpServletResponse || item instanceof HttpServletRequest) {
if (item instanceof HttpServlet || item instanceof HttpServletResponse || item instanceof HttpServletRequest || item instanceof MultipartFile) {
continue;
}
para.add(item);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment