Files
open-im-server/internal/push/jpush/requestBody/notification.go
T
2021-11-10 15:24:59 +08:00

18 lines
293 B
Go

package requestBody
type Notification struct {
Alert string `json:"alert,omitempty"`
Android *Android `json:"android,omitempty"`
IOS *Ios `json:"ios,omitempty"`
}
type Android struct {
}
type Ios struct {
}
func (n *Notification) SetAlert(alert string) {
n.Alert = alert
}