liuxiaolong
2020-06-29 6b1fb57ec1736c5433ad66c310d2797d9870cdcd
add push_channel
1个文件已修改
12 ■■■■■ 已修改文件
service/msgPush.go 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
service/msgPush.go
@@ -80,6 +80,18 @@
                "url": "http://baidu.com",
            },
        },
        "push_channel": map[string]map[string]map[string]map[string]string {
            "android": {
                "ups": {
                    "notification": {
                        "title": title,
                        "body": msg,
                        "click_type": "url",
                        "url": "http://baidu.com",
                    },
                },
            },
        },
    }
    header := map[string]string {
        "token": token,