Browse Source

Update WebLogAspect.java

macro 5 năm trước cách đây
mục cha
commit
7b9dc63031

+ 1 - 0
mall-admin/src/main/java/com/macro/mall/component/WebLogAspect.java

@@ -97,6 +97,7 @@ public class WebLogAspect {
         List<Object> argList = new ArrayList<>();
         Parameter[] parameters = method.getParameters();
         for (int i = 0; i < parameters.length; i++) {
+            //将RequestBody注解修饰的参数作为请求参数
             RequestBody requestBody = parameters[i].getAnnotation(RequestBody.class);
             if (requestBody != null) {
                 argList.add(args[i]);