优化
This commit is contained in:
@@ -81,11 +81,14 @@ type authorityMenuPO struct {
|
||||
func (authorityMenuPO) TableName() string { return "sys_authority_menus" }
|
||||
|
||||
type menuParameterPO struct {
|
||||
ID uint `gorm:"primaryKey"`
|
||||
MenuID uint `gorm:"column:sys_base_menu_id;index"`
|
||||
Type string
|
||||
Key string
|
||||
Value string
|
||||
ID uint `gorm:"primaryKey"`
|
||||
CreatedAt time.Time
|
||||
UpdatedAt time.Time
|
||||
DeletedAt gorm.DeletedAt `gorm:"index"`
|
||||
MenuID uint `gorm:"column:sys_base_menu_id;index"`
|
||||
Type string
|
||||
Key string
|
||||
Value string
|
||||
}
|
||||
|
||||
func (menuParameterPO) TableName() string { return "sys_base_menu_parameters" }
|
||||
|
||||
Reference in New Issue
Block a user