mergeDev/campaign #73
|
@ -0,0 +1,8 @@
|
|||
package jsconsumer
|
||||
|
||||
// Selly ...
|
||||
var Selly = struct {
|
||||
PushNotification string
|
||||
}{
|
||||
PushNotification: "PULL_PUSH_NOTIFICATION",
|
||||
}
|
|
@ -2,13 +2,16 @@ package jsmodel
|
|||
|
||||
// PushNotification ...
|
||||
type PushNotification struct {
|
||||
User string `json:"user"`
|
||||
Type string `json:"type"`
|
||||
TargetID string `json:"targetId"`
|
||||
IsFromAdmin bool `json:"isFromAdmin"`
|
||||
Category string `json:"category"`
|
||||
Options struct {
|
||||
Title string `json:"title"`
|
||||
Content string `json:"content"`
|
||||
} `json:"options"`
|
||||
User string `json:"user"`
|
||||
Type string `json:"type"`
|
||||
TargetID string `json:"targetId"`
|
||||
IsFromAdmin bool `json:"isFromAdmin"`
|
||||
Category string `json:"category"`
|
||||
Options NotificationOptions `json:"options"`
|
||||
}
|
||||
|
||||
// NotificationOptions ...
|
||||
type NotificationOptions struct {
|
||||
Title string `json:"title"`
|
||||
Content string `json:"content"`
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue