From 585a05bef033fa4b6a02b5d3afd3b305b3914abb Mon Sep 17 00:00:00 2001
From: yujian <yujian>
Date: 星期五, 15 三月 2019 15:24:06 +0800
Subject: [PATCH] 券推送、今天推荐加入版本推送   用户活跃检测开启任务

---
 fanli/src/main/java/com/yeshi/fanli/aspect/ActiveUserAspect.java |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/aspect/ActiveUserAspect.java b/fanli/src/main/java/com/yeshi/fanli/aspect/ActiveUserAspect.java
index ca1eaef..3d5bbb2 100644
--- a/fanli/src/main/java/com/yeshi/fanli/aspect/ActiveUserAspect.java
+++ b/fanli/src/main/java/com/yeshi/fanli/aspect/ActiveUserAspect.java
@@ -21,9 +21,9 @@
  * @author Administrator
  *
  */
-//@Component
-//@Aspect
-//@Order(6)
+@Component
+@Aspect
+@Order(6)
 public class ActiveUserAspect {
 	
 	@Resource(name = "taskExecutor")
@@ -38,7 +38,7 @@
 	
 	public static final String EDP = "execution(* com.yeshi.fanli.controller.client.*.*(..))";
 
-//	@Around(EDP)
+	@Around(EDP)
 	public Object activeAround(ProceedingJoinPoint joinPoint) throws Throwable {
 
 		Long uid = null;
@@ -85,8 +85,7 @@
 			}
 		});
 		
-		Object[] args = joinPoint.getArgs();
-		return joinPoint.proceed(args);
+		return joinPoint.proceed(joinPoint.getArgs());
 	}
 
 }

--
Gitblit v1.8.0