Commit 24d0e449 by pengbin

aop

parent 1ae0a4d4
......@@ -42,9 +42,9 @@ public class LogAspect {
System.out.println("AOP:Before...");
System.out.println("URL : " + request.getRequestURL().toString());
System.out.println("HTTP_METHOD : " + request.getMethod());
System.out.println("IP : " + request.getRemoteAddr());
// System.out.println("IP : " + request.getRemoteAddr());
System.out.println("CLASS_METHOD : " + joinPoint.getSignature().getDeclaringTypeName() + "." + joinPoint.getSignature().getName());
System.out.println("ARGS : " + JSON.toJSONString(joinPoint.getArgs()));
System.out.println("请求参数:" + JSON.toJSONString(joinPoint.getArgs()));
}
......
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