From 6b1fb57ec1736c5433ad66c310d2797d9870cdcd Mon Sep 17 00:00:00 2001
From: liuxiaolong <liuxiaolong@aiotlink.com>
Date: 星期一, 29 六月 2020 14:58:01 +0800
Subject: [PATCH] add push_channel

---
 service/msgPush.go |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/service/msgPush.go b/service/msgPush.go
index 3f3c4ce..a1c29e0 100644
--- a/service/msgPush.go
+++ b/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,

--
Gitblit v1.8.0