This commit is contained in:
wangchuxiao
2023-03-09 10:57:55 +08:00
parent 2ccf040fbb
commit 12a0ab8ae8
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ func NewClient(cache cache.Model) *Fcm {
panic(err.Error())
return nil
}
return &Fcm{fcmMsgCli: fcmMsgClient}
return &Fcm{fcmMsgCli: fcmMsgClient, cache: cache}
}
func (f *Fcm) Push(ctx context.Context, userIDs []string, title, content string, opts *offlinepush.Opts) error {