| xqd
@@ -88,11 +88,12 @@ class JPushService
|
|
|
'title' => $title,
|
|
|
'builder_id' => $builder_id,
|
|
|
'extras' => $extras,
|
|
|
-// 'large_icon' => 'https://zhengda.oss-accelerate.aliyuncs.com/chengluApp/image_cropper_1628595761196_compressed122286944406054090.jpg',
|
|
|
+ 'small_icon_uri' => $params['image'] ?? ''
|
|
|
])->iosNotification($content, [
|
|
|
'sound' => 'sound',
|
|
|
'badge' => '+1',
|
|
|
- 'extras' => $extras
|
|
|
+ 'extras' => $extras,
|
|
|
+ 'small_icon_uri' => $params['image'] ?? ''
|
|
|
])->options([
|
|
|
'apns_production' => config('jpush.apns_production', true),
|
|
|
//表示离线消息保留时长(秒)
|