mirror of
https://github.com/flipped-aurora/gin-vue-admin.git
synced 2026-09-21 12:32:25 +00:00
Merge remote-tracking branch 'upstream/gva_gormv2_dev' into gva_gormv2_dev
This commit is contained in:
@@ -17,7 +17,7 @@ type IdsReq struct {
|
||||
|
||||
// Get role by id structure
|
||||
type GetAuthorityId struct {
|
||||
AuthorityId string // 角色ID
|
||||
AuthorityId string `json:"authorityId" form:"authorityId"` // 角色ID
|
||||
}
|
||||
|
||||
type Empty struct{}
|
||||
|
||||
@@ -7,8 +7,8 @@ import (
|
||||
|
||||
// Add menu authority info structure
|
||||
type AddMenuAuthorityInfo struct {
|
||||
Menus []system.SysBaseMenu
|
||||
AuthorityId string // 角色ID
|
||||
Menus []system.SysBaseMenu `json:"menus"`
|
||||
AuthorityId string `json:"authorityId"` // 角色ID
|
||||
}
|
||||
|
||||
func DefaultMenu() []system.SysBaseMenu {
|
||||
|
||||
@@ -6,5 +6,5 @@ import (
|
||||
|
||||
// 配置文件结构体
|
||||
type System struct {
|
||||
Config config.Server
|
||||
Config config.Server `json:"config"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user