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

Localization语言模板问题 shiro 注解 RequiresPermissions #132

Open
TomYule opened this issue Aug 13, 2019 · 3 comments

Comments

@TomYule
Copy link

commented Aug 13, 2019

@Localization(value = "locales/", defaultLocalizationKey = "zh-CN")
国际话语言设置
user.require.auth=对不起您没有权限操作

@RequiresPermissions("app:serviceFeeItem:edit")
返回的json
没有被处理这个是什么原因呢

{"ok":false,"msg":"user.require.auth","type":"user.require.auth"}

@wendal

This comment has been minimized.

Copy link
Member

commented Aug 14, 2019

这个嘛...

@TomYule

This comment has been minimized.

Copy link
Author

commented Aug 20, 2019

如何改 兽总 可以 给点指点 我看看 我能不能解决

@wendal

This comment has been minimized.

Copy link
Member

commented Aug 20, 2019

改NutShiroProcessor嘛, 从Mvcs.getMessage取

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.