mirror of
https://github.com/easychen/pushdeer.git
synced 2025-02-22 16:04:56 +08:00
Update Helpers.php
This commit is contained in:
parent
411f768156
commit
05d051dc8b
@ -115,7 +115,8 @@ function ios_send($is_clip, $device_token, $text, $desp = '', $dev = true)
|
||||
$topic = intval($is_clip) == 1 ? config('services.go_push.ios_clip_topic') : config('services.go_push.ios_topic');
|
||||
$notification->topic = $topic;
|
||||
$notification->sound = ['volume'=>2.0];
|
||||
$notification->mutable_content = 1;
|
||||
$notification->mutable_content = true;
|
||||
$notification->alert= ['title'=>$text,'subtitle'=>'from PushDeer','body'=>$desp];
|
||||
|
||||
$json = ['notifications'=>[$notification]];
|
||||
$client = new GuzzleHttp\Client();
|
||||
|
Loading…
x
Reference in New Issue
Block a user