fcm ios push badge

This commit is contained in:
Gordon
2022-09-02 22:03:35 +08:00
parent 72aff32024
commit f6137dfc34
3 changed files with 3 additions and 0 deletions
+1
View File
@@ -90,6 +90,7 @@ func (f *Fcm) Push(accounts []string, title, detailContent, operationID string,
}
for _, token := range personTokens {
temp := &messaging.Message{
Data: map[string]string{"ex": opts.Data},
Token: token,
Notification: notification,
APNS: apns,