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

andserver拦截器能支持下,类似spring的功能吗? #550

Open
stelin opened this issue Sep 18, 2024 · 0 comments
Open

andserver拦截器能支持下,类似spring的功能吗? #550

stelin opened this issue Sep 18, 2024 · 0 comments

Comments

@stelin
Copy link

stelin commented Sep 18, 2024

preHandle
postHandle
afterCompletion

现在拦截器只支持true/fase返回,在一些特殊业务场景,没法使用。我们现在是在每个控制器里面包业务包装了下,控制器方法执行前,我们要初始化数据到请求上下文,请求处理完成后,需要清理掉。

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