添加袤博推送 (#284)

Co-authored-by: liuming <liuming@example.com>
This commit is contained in:
liu ming
2022-09-23 17:40:48 +08:00
committed by GitHub
parent 1a61598322
commit e000dc18aa
9 changed files with 191 additions and 0 deletions
@@ -0,0 +1,26 @@
package requestParams
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
}