修改v1/sys_menu.go的备注错误及代码优化

This commit is contained in:
SliverHorn
2020-11-07 10:40:00 +08:00
parent 699f53e8b2
commit b4bad21e35
5 changed files with 67 additions and 98 deletions

View File

@@ -13,4 +13,11 @@ type GetById struct {
type IdsReq struct {
Ids []int `json:"ids" form:"ids"`
}
}
// Get role by id structure
type GetAuthorityId struct {
AuthorityId string
}
type Empty struct {}

View File

@@ -7,8 +7,3 @@ type AddMenuAuthorityInfo struct {
Menus []model.SysBaseMenu
AuthorityId string
}
// Get role by id structure
type AuthorityIdInfo struct {
AuthorityId string
}