From 9121063ebcf1102503a8f438991a0fd3f982c415 Mon Sep 17 00:00:00 2001 From: Gordon <1432970085@qq.com> Date: Fri, 29 Jul 2022 15:59:49 +0800 Subject: [PATCH] add test file --- internal/push/fcm/push.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/push/fcm/push.go b/internal/push/fcm/push.go index ac485a708..33ef97332 100644 --- a/internal/push/fcm/push.go +++ b/internal/push/fcm/push.go @@ -66,6 +66,7 @@ func (f *Fcm) Push(accounts []string, alert, detailContent, operationID string, Fail := 0 for i := 0; i < pages; i++ { Msg := new(messaging.MulticastMessage) + Msg.Notification = &messaging.Notification{} Msg.Notification.Body = detailContent Msg.Notification.Title = alert ctx := context.Background()