Browse Source

menu info

ls 3 years ago
parent
commit
917b420e19
1 changed files with 4 additions and 4 deletions
  1. 4 4
      wechat/structure.go

+ 4 - 4
wechat/structure.go

@@ -191,10 +191,10 @@ type formMenuSubButton struct {
 }
 
 type formMenuInfo struct {
-	Type      string            `json:"type,omitempty"`
-	Name      string            `json:"name"`
-	Key       string            `json:"key,omitempty"`
-	SubButton formMenuSubButton `json:"sub_button,omitempty"`
+	Type      string             `json:"type,omitempty"`
+	Name      string             `json:"name"`
+	Key       string             `json:"key,omitempty"`
+	SubButton *formMenuSubButton `json:"sub_button,omitempty"`
 }
 
 // FormMenu menu create