Files
lone-services/admin/internal/dao/routes.go
T
gjs 6c20427b0a
CI / changes (push) Successful in 2s
CI / docker-bff (push) Successful in 3m7s
CI / docker-product (push) Has been skipped
CI / docker-admin (push) Successful in 3m26s
bff config to nacos
2026-08-13 16:27:18 +08:00

30 lines
911 B
Go

package dao
type RoutesMenu struct {
Id int64 `json:"id"`
Name string `json:"name"`
ParentId int64 `json:"parent_id"`
Level uint8 `json:"level"`
Type uint8 `json:"type"`
Path string `json:"path"`
Api string `json:"api"`
ViewPath string `json:"view_path"`
Identification string `json:"identification"`
Icon string `json:"icon"`
Sort uint8 `json:"sort"`
IsShow uint8 `json:"is_show"`
Description string `json:"description"`
Children []RoutesMenu `json:"children"`
}
type RoutesAuth struct {
Id int64 `json:"id"`
Type uint8 `json:"type"`
Identification string `json:"identification"`
}
type Routes struct {
Menu []RoutesMenu `json:"menu"`
Auth []RoutesAuth `json:"auth"`
}