feat:完善入驻信息管理

This commit is contained in:
henry
2021-12-03 14:18:06 +08:00
parent 25ac50bb51
commit 851a2c1784
44 changed files with 192 additions and 190 deletions

View File

@ -5,7 +5,7 @@ type SysMenu struct {
SysMenuBasic
Auth SysMenuAuth `gorm:"column:auth;type:tinyint(1);default:0;comment:查看权限0通用1超管" json:"auth"`
Sort int `gorm:"column:sort;type:tinyint(3);default:0;comment:排序,数值越大,优先排序" json:"sort"`
Remark string `gorm:"column:remark;type:varchar(255);default:null;comment:菜单备注" json:"remark"`
Remark string `gorm:"column:remark;type:varchar(255);default:'';comment:菜单备注" json:"remark"`
Status SysMenuStatus `gorm:"column:status;type:tinyint(1);default:1;comment:状态" json:"status"`
ModelDeleted
ModelAt
@ -13,11 +13,11 @@ type SysMenu struct {
type SysMenuBasic struct {
ParentID uint64 `gorm:"column:parent_id;type:int;default:0;comment:父级ID" json:"parent_id"`
Name string `gorm:"column:name;type:varchar(30);default:null;comment:菜单名" json:"name"`
Name string `gorm:"column:name;type:varchar(30);default:'';comment:菜单名" json:"name"`
Kind SysMenuKind `gorm:"column:kind;type:tinyint(1);default:1;comment:类型1目录2菜单" json:"kind"`
Link string `gorm:"column:link;type:varchar(80);default:null;comment:菜单链接" json:"link"`
Component string `gorm:"column:component;type:varchar(80);default:null;comment:组件标识" json:"component"`
Icon string `gorm:"column:icon;type:varchar(50);default:null;comment:菜单图标" json:"icon"`
Link string `gorm:"column:link;type:varchar(80);default:'';comment:菜单链接" json:"link"`
Component string `gorm:"column:component;type:varchar(80);default:'';comment:组件标识" json:"component"`
Icon string `gorm:"column:icon;type:varchar(50);default:'';comment:菜单图标" json:"icon"`
}
// SysMenuKind 菜单类型