-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
StpUtil 构造方法为private #550
Comments
同问 |
不能继承确实挺麻烦的,复制同样的代码重新写一遍对升级不友好 |
StpUtil 里都是static代码,oop特性中 static代码是不能继承的吧? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
对以下问题有疑问:
为什么StpUtil的构造函数在1.30以后改为了private
由于项目的权限校验较为复杂,我继承了StpUtil以及其他几个类实现了自定义的权限校验
在升级satoken版本时,发现了一些问题,由于StpUtil的构造函数改为了private,导致我无法继承
The text was updated successfully, but these errors were encountered: