🎨 分类新增url字段
This commit is contained in:
@@ -14,6 +14,7 @@ type Category struct {
|
||||
ParentId *int `json:"parentId" form:"parentId" gorm:"column:parent_id;comment:父类别ID;"` //父ID
|
||||
Icon *string `json:"icon" form:"icon" gorm:"column:icon;comment:类别图标;"` //图标
|
||||
IndexTrue *bool `json:"index" form:"index" gorm:"column:index;comment:是否首页显示;"` //是否首页显示
|
||||
Url *string `json:"url" form:"url" gorm:"column:url;comment:类别链接;"` //链接
|
||||
}
|
||||
|
||||
// TableName 类别 Category自定义表名 categories
|
||||
|
Reference in New Issue
Block a user