-
-
Notifications
You must be signed in to change notification settings - Fork 288
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
角色管理显示分组翻译,API管理显示原始分组字段 #149
Conversation
docs: update CHANGELOG.md
docs: update README.md
validate 语法错误
中文分组翻译
英语分组翻译
角色管理设置接口权限时显示分组翻译,API管理页面不显示分组翻译
@@ -649,12 +649,12 @@ type ApiAuthorityInfo struct { | |||
// API path | API 路径 | |||
// required : true | |||
// max length : 80 | |||
Path string `json:"path" validate="required,max=80"` | |||
Path string `json:"path" validate:"required,max=80"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个都没注意到,这个估计是 goctls 解析出错了,改这没用的,生成代码又被覆盖了,估计是path解析有问题
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
其他生成都没问题,估计path 和method触发关键字了
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
代码贡献超过五十可以添加管理员微信私信加入星球 |
当前项目在角色管理页面调用该接口时为了获取所有接口,每页大小被设置为10000,因此可以直接根据页大小来判断请求是否来自角色管理页面