refactor:🎨 资源管理模块代码升级,移除旧代码
This commit is contained in:
1 parent
6b0b1bb836
commit
ab547cc49b
6 files changed
+6
-428
No files matched your search
@@ -13,18 +13,18 @@ type SysFileDir struct {
|
||||
Label string `json:"label" gorm:"type:varchar(255);comment:目录名称"` // 目录名称
|
||||
PId uint `json:"pId" gorm:"type:int(11);comment:上级目录"` // 上级目录
|
||||
//Sort string `json:"sort" gorm:"type:bigint(20);comment:排序"` // 排序
|
||||
Path string `json:"path" gorm:"type:varchar(255);comment:路径"` // 路径
|
||||
Path string `json:"path" gorm:"type:varchar(255);comment:路径"` // 路径
|
||||
}
|
||||
|
||||
type SysFileDirL struct {
|
||||
gorm.Model
|
||||
models.ControlBy
|
||||
|
||||
Label string `json:"label" gorm:"type:varchar(255);comment:目录名称"` // 目录名称
|
||||
PId uint `json:"pId" gorm:"type:int(11);comment:上级目录"` // 上级目录
|
||||
Label string `json:"label" gorm:"type:varchar(255);comment:目录名称"` // 目录名称
|
||||
PId uint `json:"pId" gorm:"type:int(11);comment:上级目录"` // 上级目录
|
||||
//Sort string `json:"sort" gorm:"type:bigint(20);comment:排序"` // 排序
|
||||
Path string `json:"path" gorm:"type:varchar(255);comment:路径"` // 路径
|
||||
Children []SysFileDirL `json:"children" gorm:"-"` // 下级信息
|
||||
Path string `json:"path" gorm:"type:varchar(255);comment:路径"` // 路径
|
||||
Children []SysFileDirL `json:"children" gorm:"-"` // 下级信息
|
||||
}
|
||||
|
||||
func (SysFileDir) TableName() string { /**/
|
||||
|
||||
Reference in new issue
Block a user