Files
open-im-server/internal/push/mobpush/requestParams/pushTarget.go
T

14 lines
275 B
Go
Raw Normal View History

2022-09-23 17:40:48 +08:00
package requestParams
type PushTarget struct {
Target interface{} `json:"target,omitempty"`
Alias []string `json:"alias,omitempty"`
}
func (p *PushTarget) SetTarget(target int) {
p.Target = target
}
func (p *PushTarget) SetAlias(alias []string) {
p.Alias = alias
}