diff --git a/push/model/message_hm.go b/push/model/message_hm.go index bf56d4e..85d6a41 100644 --- a/push/model/message_hm.go +++ b/push/model/message_hm.go @@ -65,11 +65,11 @@ type AndroidNotification struct { VibrateConfig []string `json:"vibrate_config,omitempty"` Visibility string `json:"visibility,omitempty"` LightSettings *LightSettings `json:"light_settings,omitempty"` - ForegroundShow bool `json:"foreground_show,omitempty"` + ForegroundShow bool `json:"foreground_show"` } type ClickAction struct { - Type int `json:"type"` //when the type equals to 1, At least one of intent and action is not empty + Type int `json:"type"` // when the type equals to 1, At least one of intent and action is not empty Intent string `json:"intent,omitempty"` Action string `json:"action,omitempty"` Url string `json:"url,omitempty"`