|
@@ -181,6 +181,27 @@ type Menu struct {
|
|
|
Info menuInfo `json:"selfmenu_info"`
|
|
|
}
|
|
|
|
|
|
+type formMenuSubButton struct {
|
|
|
+ Type string `json:"type,omitempty"`
|
|
|
+ Name string `json:"name"`
|
|
|
+ Key string `json:"key,omitempty"`
|
|
|
+ URL string `json:"url,omitempty"`
|
|
|
+ AppID string `json:"appid,omitempty"`
|
|
|
+ Pagepath string `json:"pagepath,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+type formMenuInfo struct {
|
|
|
+ Type string `json:"type,omitempty"`
|
|
|
+ Name string `json:"name"`
|
|
|
+ Key string `json:"key,omitempty"`
|
|
|
+ SubButton formMenuSubButton `json:"sub_button,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+// FormMenu menu create
|
|
|
+type FormMenu struct {
|
|
|
+ Button []formMenuInfo `json:"button"`
|
|
|
+}
|
|
|
+
|
|
|
// ArticleItem article item
|
|
|
type ArticleItem struct {
|
|
|
Title string `xml:"Title" json:"Title"`
|