补充遗漏的json type

This commit is contained in:
蒋吉兆
2021-08-16 22:44:35 +08:00
parent 6ee60e3f95
commit a85ae1a46a
6 changed files with 199 additions and 227 deletions

View File

@@ -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 {