mirror of
https://github.com/easychen/pushdeer.git
synced 2025-02-23 08:24:55 +08:00
remove subtitle
This commit is contained in:
parent
2f461cf8c6
commit
d7a0c95382
@ -116,7 +116,8 @@ function ios_send($is_clip, $device_token, $text, $desp = '', $dev = true)
|
|||||||
$notification->topic = $topic;
|
$notification->topic = $topic;
|
||||||
$notification->sound = ['volume'=>2.0];
|
$notification->sound = ['volume'=>2.0];
|
||||||
$notification->mutable_content = true;
|
$notification->mutable_content = true;
|
||||||
$notification->alert= ['title'=>$text,'subtitle'=>'from PushDeer','body'=>$desp];
|
$notification->alert= ['title'=>$text, 'body'=>$desp];
|
||||||
|
// 'subtitle'=>'from PushDeer',
|
||||||
|
|
||||||
$json = ['notifications'=>[$notification]];
|
$json = ['notifications'=>[$notification]];
|
||||||
$client = new GuzzleHttp\Client();
|
$client = new GuzzleHttp\Client();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user