From e03574fa8d39107e1cbabbd04cbba27617261241 Mon Sep 17 00:00:00 2001 From: qi Date: Tue, 5 May 2020 19:03:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/lq/cms/aspectJ/SysUserServiceAspectj.java | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/lq/cms/aspectJ/SysUserServiceAspectj.java b/src/main/java/com/lq/cms/aspectJ/SysUserServiceAspectj.java index b9c4dc4..5d03d34 100755 --- a/src/main/java/com/lq/cms/aspectJ/SysUserServiceAspectj.java +++ b/src/main/java/com/lq/cms/aspectJ/SysUserServiceAspectj.java @@ -16,7 +16,9 @@ public class SysUserServiceAspectj { public void perFormEncord(){} - //前置通知 + /** + * 前置通知 + */ @Before(value = "perFormEncord()") public void before( JoinPoint joinPoint){ System.out.println("========切入 start========"); @@ -26,13 +28,17 @@ public class SysUserServiceAspectj { // } } - //后置通知 + /** + * 后置通知 + */ @After(value = "perFormEncord()") public void after(){ System.out.println("========切入 end========"); } - //后置返回通知 + /** + * 后置返回通知 + */ @AfterReturning(value = "perFormEncord()",returning = "retVal") public void afterReturning(JoinPoint joinPoint,Object retVal){