diff --git a/weixin/base.go b/weixin/base.go index de1cfb7..3a30e6c 100644 --- a/weixin/base.go +++ b/weixin/base.go @@ -49,7 +49,7 @@ type BaseSdk struct { } type OaMenuButton struct { - Type string `json:"type"` + Type string `json:"type,omitempty"` Name string `json:"name"` Key string `json:"key,omitempty"` Url string `json:"url,omitempty"`