bianjunhui hace 2 años
padre
commit
862e2accf2
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      application/api/controller/Message.php

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

@@ -73,8 +73,8 @@ class Message extends Api
         $notification->setIncludedSegments([$segment]);
         $data['push_para']=$url;
         $data['push_type']=$type;
+        $data['title']=$title;
         $notification->setData($data);
-        $notification->setSubtitle($title);
         return $notification;
     }