添加袤博推送 (#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,28 @@
package requestParams
type PushObj struct {
Source interface{} `json:"source"`
Appkey interface{} `json:"appkey"`
PushTarget interface{} `json:"pushTarget,omitempty"`
PushNotify interface{} `json:"pushNotify,omitempty"`
PushForward interface{} `json:"pushForward,omitempty"`
}
func (p *PushObj) SetSource(source string) {
p.Source = source
}
func (p *PushObj) SetAppkey(appkey string) {
p.Appkey = appkey
}
func (p *PushObj) SetPushTarget(no *PushTarget) {
p.PushTarget = no
}
func (p *PushObj) SetPushNotify(m *PushNotify) {
p.PushNotify = m
}
func (p *PushObj) SetPushForward(o *PushForward) {
p.PushForward = o
}