新增 firebase cloud message 消息推送 (#236)

* 新增 firebase cloud message 消息推送

新增 api接口  /third/fcm_update_token 用于更新客户端获取到 FCM token 同步到服务器

* mongodb授权缺少授权数据库

windows下面的编译+启动
This commit is contained in:
欧阳氏
2022-07-25 17:07:47 +08:00
committed by GitHub
parent c94fb80cb0
commit 84c068783d
12 changed files with 602 additions and 7 deletions
+4
View File
@@ -190,6 +190,10 @@ type config struct {
Intent string `yaml:"intent"`
MasterSecret string `yaml:"masterSecret"`
}
Fcm struct {
ServiceAccount string `yaml:"serviceAccount"`
Enable bool `yaml:"enable"`
}
}
Manager struct {
AppManagerUid []string `yaml:"appManagerUid"`