⚡分类接口完成
This commit is contained in:
@@ -1,18 +1,13 @@
|
||||
package vo
|
||||
|
||||
// TypeItem
|
||||
// @description: 导航分类
|
||||
type TypeItem struct {
|
||||
ID string `json:"id"`
|
||||
Name string `json:"name"`
|
||||
Icon string `json:"icon"`
|
||||
}
|
||||
import "website-nav/model"
|
||||
|
||||
type NavigationItem struct {
|
||||
ID string `json:"id"`
|
||||
Title string `json:"title"`
|
||||
Url string `json:"url"`
|
||||
Icon string `json:"icon"`
|
||||
Desc string `json:"desc"`
|
||||
Enabled bool `json:"enabled"`
|
||||
// NavigationTypeItem
|
||||
// @description: 导航分类
|
||||
type NavigationTypeItem struct {
|
||||
ID string `json:"id"`
|
||||
Name string `json:"name"`
|
||||
Icon string `json:"icon"`
|
||||
CreatedAt model.JsonTime `json:"createdAt"`
|
||||
UpdatedAt model.JsonTime `json:"updatedAt"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user