Skip to content

Commit

Permalink
2024-12-07 18:20:22
Browse files Browse the repository at this point in the history
  • Loading branch information
yingzhuo committed Dec 7, 2024
1 parent 9417177 commit 6508496
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
import org.springframework.data.redis.core.RedisOperations;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframework.util.Assert;
import spring.turbo.core.AspectSpELTemplate;
import spring.turbo.core.AspectUtils;
import spring.turbo.core.SpELForAspectAround;
import spring.turbo.exception.RuntimeExceptionSupplier;

/**
Expand Down Expand Up @@ -56,7 +56,7 @@ public Object around(ProceedingJoinPoint joinPoint) throws Throwable {
return joinPoint.proceed();
}

var redisKey = SpELForAspectAround.newInstance(annotation.value(), joinPoint)
var redisKey = AspectSpELTemplate.<String>newInstance(annotation.value(), joinPoint)
.getValue();

var success = redisOperations.opsForValue()
Expand Down

0 comments on commit 6508496

Please sign in to comment.