Skip to content

Commit

Permalink
Update WebLogAspect.java
Browse files Browse the repository at this point in the history
  • Loading branch information
macrozheng committed Jun 27, 2019
1 parent 0e8fa6c commit 7b9dc63
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ private Object getParameter(Method method, Object[] args) {
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]);
Expand Down

0 comments on commit 7b9dc63

Please sign in to comment.