Revert "Merge remote-tracking branch 'upstream/gva_gormv2_dev' into gva_gormv2_dev"

This reverts commit bb33c312b1, reversing
changes made to b9b4bc6b8b.
This commit is contained in:
songzhibin97
2021-08-21 17:55:06 +08:00
parent ce67438ef0
commit 71605850c2
23 changed files with 981 additions and 1770 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ type IdsReq struct {
// Get role by id structure
type GetAuthorityId struct {
AuthorityId string `json:"authorityId" form:"authorityId"` // 角色ID
AuthorityId string // 角色ID
}
type Empty struct{}
+2 -2
View File
@@ -7,8 +7,8 @@ import (
// Add menu authority info structure
type AddMenuAuthorityInfo struct {
Menus []system.SysBaseMenu `json:"menus"`
AuthorityId string `json:"authorityId"` // 角色ID
Menus []system.SysBaseMenu
AuthorityId string // 角色ID
}
func DefaultMenu() []system.SysBaseMenu {
+1 -1
View File
@@ -6,5 +6,5 @@ import (
// 配置文件结构体
type System struct {
Config config.Server `json:"config"`
Config config.Server
}