liuxiaolong
2020-06-22 5c586b41bc2227657fd62867f77c0a4a92ab5b5b
fix push content
1个文件已修改
12 ■■■■■ 已修改文件
service/msgPush.go 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
service/msgPush.go
@@ -72,11 +72,13 @@
            "ttl": 8 * 3600 * 1000,
        },
        "audience": "all",
        "push_message": map[string]string{
            "title": title,
            "body": msg,
            "click_type": "url",
            "url": "http://baidu.com",
        "push_message": map[string]map[string]string {
            "notification": {
                "title": title,
                "body": msg,
                "click_type": "url",
                "url": "http://baidu.com",
            },
        },
    }
    header := map[string]string {