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

[QUESTION] 为什么使用了这个缓存注解,方法就没有返回值了 #44

Closed
wangyingqian opened this issue Jun 25, 2019 · 4 comments
Labels
question Further information is requested

Comments

@wangyingqian
Copy link

这个是依赖配置

image

##这个是IndexController
image

这个是service

image

返回结果

image

redis也是连接的,cache默认配置的。不知道哪里出现了问题,

@wangyingqian wangyingqian added the question Further information is requested label Jun 25, 2019
@limingxinleo
Copy link
Member

加上Cacheable就没有返回?不加就正常?
https://doc.hyperf.io/#/zh/quick-start/questions?id=%e4%bb%a3%e7%90%86%e7%b1%bb%e7%bc%93%e5%ad%98

@limingxinleo
Copy link
Member

请尽快回复 谢谢。。

@limingxinleo
Copy link
Member

如果问题仍然存在,请重新打开issue

@wangyingqian
Copy link
Author

问题已解决,确实是那个缓存代理类没有清理掉。

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

No branches or pull requests

2 participants