admin
2019-03-13 33b4ed2bbf28ec16b66e552680f56a691a4e908d
fanli/src/main/java/com/yeshi/fanli/aspect/ActiveUserAspect.java
@@ -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;
@@ -63,18 +63,18 @@
               return;
            }
            
            // 缓存uid的Key
            String key = "activeUid_" + uuid;
            // 缓存中是否存在uid
            String cacheValue = redisManager.getCommonString(key);
            if (cacheValue != null && cacheValue.trim().length() > 0) {
               return;
            }
            // 加入缓存 20分钟
            redisManager.cacheCommonString("activeUid_" + uuid, uuid.toString(), 60 * 20);
//            // 缓存uid的Key
//            String key = "activeUid_" + uuid;
//
//            // 缓存中是否存在uid
//            String cacheValue = redisManager.getCommonString(key);
//            if (cacheValue != null && cacheValue.trim().length() > 0) {
//               return;
//            }
//
//            // 加入缓存 20分钟
//            redisManager.cacheCommonString("activeUid_" + uuid, uuid.toString(), 60 * 20);
//
            
            // 接收券
            try {