Feature/seller by #38

Merged
milano15662 merged 16 commits from feature/seller-by-id into master 2022-10-03 03:48:13 +00:00
2 changed files with 20 additions and 9 deletions
Showing only changes of commit 547b3b8dd9 - 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

@ -7,8 +7,11 @@ type PushNotification struct {
TargetID string `json:"targetId"`
IsFromAdmin bool `json:"isFromAdmin"`
Category string `json:"category"`
Options struct {
Options NotificationOptions `json:"options"`
}
// NotificationOptions ...
type NotificationOptions struct {
Title string `json:"title"`
Content string `json:"content"`
} `json:"options"`
}