zs
2025-05-13 5bec5fc00525c7d44f7351b045d45ab3c401f64a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package dto
 
type RequestBody struct {
    WidgetName string                            `json:"widgetName"`
    WidgetId   string                            `json:"widgetId"`
    Menu       []map[string]interface{}          `json:"menu"`
    MenuMap    map[string]map[string]interface{} `json:"menuMap"`
    Type       int                               `json:"type"`
}
 
type MenuConfig struct {
    Menu    []map[string]interface{}
    MenuMap map[string]map[string]interface{}
}
 
type ErrorType struct {
    string
    int
    error
}