代码拉取完成,页面将自动刷新
package model
/*
菜单权限表
*/
type MenuAuth struct {
BaseHeaderModel
Name string `gorm:"type:varchar(32);default:'';comment:权限名称"`
Icon string `gorm:"type:varchar(50);default:'';comment:图标"`
Pid int64 `gorm:"type:int(4);default:0;comment:父级Id"`
Controller string `gorm:"type:varchar(32);default:'';comment:控制器名称"`
Action string `gorm:"type:varchar(32);default:'';comment:方法名名称"`
Params string `gorm:"type:varchar(128);default:'';comment:参数"`
FontFamily string `gorm:"type:varchar(20);default:'';comment:字体"`
Spreed int64 `gorm:"type:tinyint(1);default:0;comment:spreed"`
IsCheck int64 `gorm:"type:tinyint(1);default:0;comment:是否选中"`
IsMenu int64 `gorm:"type:tinyint(1);default:1;comment:是否菜单"`
Path string `gorm:"type:varchar(64);default:'';comment:路径"`
Sorts int64 `gorm:"type:int(2);default:0;comment:排序"`
Status int64 `gorm:"type:tinyint(1);default:1;comment:状态 1可用 2 不可用"`
BaseFooterModel
}
func (u *MenuAuth) TableName() string {
return "admin_menu_auth"
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。