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

角色管理显示分组翻译,API管理显示原始分组字段 #149

Merged
merged 7 commits into from
Jul 4, 2023

Conversation

AOEIUVBPMFDTNL
Copy link
Contributor

当前项目在角色管理页面调用该接口时为了获取所有接口,每页大小被设置为10000,因此可以直接根据页大小来判断请求是否来自角色管理页面

suyuan32 and others added 7 commits July 3, 2023 16:41
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"`
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个都没注意到,这个估计是 goctls 解析出错了,改这没用的,生成代码又被覆盖了,估计是path解析有问题

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

其他生成都没问题,估计path 和method触发关键字了

Copy link
Owner

@suyuan32 suyuan32 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@suyuan32
Copy link
Owner

suyuan32 commented Jul 4, 2023

代码贡献超过五十可以添加管理员微信私信加入星球

@suyuan32 suyuan32 merged commit 0bf7ed1 into suyuan32:dev Jul 4, 2023
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

Successfully merging this pull request may close these issues.

2 participants