add channel_id & channel_name

This commit is contained in:
SinTod 2022-02-07 19:16:48 +08:00
parent 9104131c6f
commit c19d75f2e7
2 changed files with 2 additions and 0 deletions

Binary file not shown.

View File

@ -84,6 +84,8 @@ func GetMINotification(req *PushNotification, pkg string) (*xmpush.Message, erro
RestrictedPackageName: pkg,
Extra: map[string]string{
"notify_foreground": "1",
"channel_id": "high_system",
"channel_name": "服务提醒",
},
}
if len(req.Tokens) > 0 {