bianjunhui 2 лет назад
Родитель
Сommit
1bc6ce10bd
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      application/api/controller/Message.php

+ 1 - 1
application/api/controller/Message.php

@@ -83,7 +83,7 @@ class Message extends Api
         if($one_push['template_image']){
             $request = Request::instance();
             $domain=$request->domain();
-            $images['image'] = $domain.$one_push['template_image'];
+            $images['id'] = $domain.$one_push['template_image'];
             $notification->setIosAttachments($images);
         }
         return $notification;