优化结构
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
// Package adminsurface defines administration UI metadata contributed by
|
||||
// business modules. The system data module owns how this metadata is stored.
|
||||
package adminsurface
|
||||
|
||||
type Menu struct {
|
||||
Name string
|
||||
Path string
|
||||
ParentName string
|
||||
Component string
|
||||
Title string
|
||||
Icon string
|
||||
Sort int
|
||||
}
|
||||
|
||||
type API struct {
|
||||
Path string
|
||||
Method string
|
||||
APIGroup string
|
||||
Description string
|
||||
}
|
||||
|
||||
type Surface struct {
|
||||
Menus []Menu
|
||||
APIs []API
|
||||
}
|
||||
Reference in New Issue
Block a user