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

14 lines
275 B
Go
Raw Normal View History

2023-02-09 20:36:34 +08:00
package requestparams
2022-09-23 17:40:48 +08:00
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
}