|
|
@ -90,6 +90,7 @@ func (f *Fcm) Push(accounts []string, title, detailContent, operationID string,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
for _, token := range personTokens {
|
|
|
|
for _, token := range personTokens {
|
|
|
|
temp := &messaging.Message{
|
|
|
|
temp := &messaging.Message{
|
|
|
|
|
|
|
|
Data: map[string]string{"ex": opts.Data},
|
|
|
|
Token: token,
|
|
|
|
Token: token,
|
|
|
|
Notification: notification,
|
|
|
|
Notification: notification,
|
|
|
|
APNS: apns,
|
|
|
|
APNS: apns,
|
|
|
|