Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

缓存注解过期时间能否支持根据参数动态化 #846

Open
liuxiaofeng2 opened this issue Dec 29, 2023 · 0 comments
Open

缓存注解过期时间能否支持根据参数动态化 #846

liuxiaofeng2 opened this issue Dec 29, 2023 · 0 comments

Comments

@liuxiaofeng2
Copy link

缓存注解过期时间能否支持根据参数动态化,看能否加个注解参数来赋予相应的过期时间handler
举例运用场景:
在同一个方法中
请求当天的实时数据有变化,希望过期时间短
请求历史数据没有变化,希望过期时间长

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant