You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
542 B
27 lines
542 B
2 years ago
|
package requestparams
|
||
2 years ago
|
|
||
|
type PushNotify struct {
|
||
|
Plats []int `json:"plats,omitempty"`
|
||
|
IosProduction int `json:"iosProduction,omitempty"`
|
||
|
Content string `json:"content,omitempty"`
|
||
|
Type int `json:"type,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (n *PushNotify) SetPlats(plats []int) {
|
||
|
n.Plats = plats
|
||
|
|
||
|
}
|
||
|
|
||
|
func (n *PushNotify) SetIosProduction(iosProduction int) {
|
||
|
n.IosProduction = iosProduction
|
||
|
|
||
|
}
|
||
|
|
||
|
func (n *PushNotify) SetContent(content string) {
|
||
|
n.Content = content
|
||
|
}
|
||
|
|
||
|
func (n *PushNotify) SetType(Type int) {
|
||
|
n.Type = Type
|
||
|
}
|