|
@@ -181,7 +181,8 @@ type Menu struct {
|
|
Info menuInfo `json:"selfmenu_info"`
|
|
Info menuInfo `json:"selfmenu_info"`
|
|
}
|
|
}
|
|
|
|
|
|
-type formMenuButton struct {
|
|
|
|
|
|
+// FormMenuButton menu button
|
|
|
|
+type FormMenuButton struct {
|
|
Type string `json:"type,omitempty"`
|
|
Type string `json:"type,omitempty"`
|
|
Name string `json:"name"`
|
|
Name string `json:"name"`
|
|
Key string `json:"key,omitempty"`
|
|
Key string `json:"key,omitempty"`
|
|
@@ -189,12 +190,12 @@ type formMenuButton struct {
|
|
AppID string `json:"appid,omitempty"`
|
|
AppID string `json:"appid,omitempty"`
|
|
Pagepath string `json:"pagepath,omitempty"`
|
|
Pagepath string `json:"pagepath,omitempty"`
|
|
MediaID string `json:"media_id,omitempty"`
|
|
MediaID string `json:"media_id,omitempty"`
|
|
- SubButton []*formMenuButton `json:"sub_button,omitempty"`
|
|
|
|
|
|
+ SubButton []*FormMenuButton `json:"sub_button,omitempty"`
|
|
}
|
|
}
|
|
|
|
|
|
// FormMenu menu create
|
|
// FormMenu menu create
|
|
type FormMenu struct {
|
|
type FormMenu struct {
|
|
- Button []*formMenuButton `json:"button"`
|
|
|
|
|
|
+ Button []*FormMenuButton `json:"button"`
|
|
}
|
|
}
|
|
|
|
|
|
// ArticleItem article item
|
|
// ArticleItem article item
|