From 7a408cba1b66e4e644d42a747f427938e6274dd8 Mon Sep 17 00:00:00 2001 From: yujian <yujian@163.com> Date: 星期四, 14 五月 2020 16:35:05 +0800 Subject: [PATCH] 粉丝信息消息 --- fanli/src/main/java/com/yeshi/fanli/aspect/integral/IntegralGetFrequencyLimitAspect.java | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/aspect/integral/IntegralGetFrequencyLimitAspect.java b/fanli/src/main/java/com/yeshi/fanli/aspect/integral/IntegralGetFrequencyLimitAspect.java index 48fb69b..c7dfbb2 100644 --- a/fanli/src/main/java/com/yeshi/fanli/aspect/integral/IntegralGetFrequencyLimitAspect.java +++ b/fanli/src/main/java/com/yeshi/fanli/aspect/integral/IntegralGetFrequencyLimitAspect.java @@ -17,7 +17,6 @@ import org.springframework.expression.spel.support.StandardEvaluationContext; import org.springframework.stereotype.Component; -import com.yeshi.fanli.util.RedisManager; import com.yeshi.fanli.util.StringUtil; import com.yeshi.fanli.util.annotation.integral.IntegralGetFrequencyLimit; @@ -47,7 +46,7 @@ return expression.getValue(context).toString(); } - @Around("execution(public * com.yeshi.fanli.service.impl.integral.*.*(..))") + @Around("execution(public * com.yeshi.fanli.service.impl.user.integral.*.*(..))") public Object requestSerializable(ProceedingJoinPoint joinPoint) throws Throwable { Signature signature = joinPoint.getSignature(); MethodSignature methodSignature = (MethodSignature) signature; @@ -80,7 +79,7 @@ } finally { } } finally { - jedisPool.returnResource(jedis); + jedis.close(); } } } catch (NoSuchMethodException e) { -- Gitblit v1.8.0