zs
2025-05-06 2fd8242a14241beba63e71c6f4222b702f0e2f30
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
}