fix 🐛 优化迁移功能
This commit is contained in:
1 parent
845558cc65
commit
bf7934c20a
21 files changed
+256
-466
No files matched your search
@@ -3,6 +3,7 @@ package models
|
||||
import (
|
||||
"errors"
|
||||
"github.com/go-admin-team/go-admin-core/sdk/pkg"
|
||||
"go-admin/common/models"
|
||||
|
||||
"gorm.io/gorm"
|
||||
|
||||
@@ -33,7 +34,7 @@ type Menu struct {
|
||||
RoleId int `gorm:"-"`
|
||||
Children []Menu `json:"children" gorm:"-"`
|
||||
IsSelect bool `json:"is_select" gorm:"-"`
|
||||
BaseModel
|
||||
models.ModelTime
|
||||
}
|
||||
|
||||
func (Menu) TableName() string {
|
||||
|
||||
Reference in new issue
Block a user