Merge pull request #50 from SinTod/main

add channel_id & channel_name
This commit is contained in:
Easy 2022-02-07 19:29:48 +08:00 committed by GitHub
commit ea29e2314b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 {