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

ProceedingJoinPoint.proceed()报错 #81

Closed
fuchengxin opened this issue Nov 20, 2023 · 3 comments
Closed

ProceedingJoinPoint.proceed()报错 #81

fuchengxin opened this issue Nov 20, 2023 · 3 comments

Comments

@fuchengxin
Copy link

image
image

版本3.3.2,这是使用aop做的权限拦截注解,但是第一次点击的时候 注解确实生效了,也进了权限请求,但是使用 joinPoint.proceed();之后抛异常了,并没有继续走原方法,然后第二次点击就正常了,这个是什么原因

@fuchengxin
Copy link
Author

image image

版本3.3.2,这是使用aop做的权限拦截注解,但是第一次点击的时候 注解确实生效了,也进了权限请求,但是使用 joinPoint.proceed();之后抛异常了,并没有继续走原方法,然后第二次点击就正常了,这个是什么原因

这就会导致使用的时候,第一次点击权限申请,然后接受了就没反应了,必须点第二次才能正常的走后面的逻辑

@wurensen
Copy link
Owner

@fuchengxin 看下是不是和这个一样的问题: #60

@fuchengxin
Copy link
Author

@fuchengxin 看下是不是和这个一样的问题: #60

确实是这个原因,我一个方法写了2个注解。。。

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

2 participants