remove subtitle

This commit is contained in:
EasyChen 2022-05-27 19:04:57 +08:00
parent 2f461cf8c6
commit d7a0c95382
1 changed files with 2 additions and 1 deletions

View File

@ -116,7 +116,8 @@ function ios_send($is_clip, $device_token, $text, $desp = '', $dev = true)
$notification->topic = $topic;
$notification->sound = ['volume'=>2.0];
$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]];
$client = new GuzzleHttp\Client();