스키마 수정 및 커밋 빠진 파일 추가

This commit is contained in:
choyeon 2020-06-22 10:45:46 +09:00
parent b3aca6bd36
commit 5e577396f3
3 changed files with 26 additions and 23 deletions

View file

@ -54,12 +54,8 @@ class APNs extends Base implements \Rhymix\Framework\Drivers\PushInterface
$alert = [];
$alert['title'] = $message->getSubject();
$alert['body'] = $message->getContent();
if($message->getImage())
{
$alert['image'] = $message->getImage();
}
$body['aps'] = array('alert' => $alert,'sound' => 'default');
$body['aps'] = array('alert' => $alert);
$payload = json_encode($body);
foreach($tokens as $token)