mergeDev/campaign #73

Closed
Ghost wants to merge 208 commits from mergeDev/campaign into develop
2 changed files with 20 additions and 9 deletions
Showing only changes of commit 40e5219036 - Show all commits

8
js/consumer/selly.go Normal file
View File

@ -0,0 +1,8 @@
package jsconsumer
// Selly ...
var Selly = struct {
PushNotification string
}{
PushNotification: "PULL_PUSH_NOTIFICATION",
}

View File

@ -2,13 +2,16 @@ package jsmodel
// PushNotification ... // PushNotification ...
type PushNotification struct { type PushNotification struct {
User string `json:"user"` User string `json:"user"`
Type string `json:"type"` Type string `json:"type"`
TargetID string `json:"targetId"` TargetID string `json:"targetId"`
IsFromAdmin bool `json:"isFromAdmin"` IsFromAdmin bool `json:"isFromAdmin"`
Category string `json:"category"` Category string `json:"category"`
Options struct { Options NotificationOptions `json:"options"`
Title string `json:"title"` }
Content string `json:"content"`
} `json:"options"` // NotificationOptions ...
type NotificationOptions struct {
Title string `json:"title"`
Content string `json:"content"`
} }