예제 #1
0
 /**
  * 使用默认设置推送消息给标签选中设备ios版
  *
  * @param $content
  * @param $tag
  * @param $environment
  *
  * @return mixed
  * @throws Exception
  */
 public function pushTagIOS($content, $tag, $environment)
 {
     $message = new MessageIOS();
     $message->setAlert($content);
     return $this->pushTags(0, array(0 => $tag), 'OR', $message, $environment);
 }
예제 #2
0
 /**
  * 使用默认设置推送消息给标签选中设备ios版
  *
  * @param $content
  * @param $tags
  * @param $environment
  * @param $op
  *
  * @return mixed
  * @throws Exception
  */
 public function pushTagsIOS($content, $tags, $environment, $op = 'AND')
 {
     $message = new MessageIOS();
     $message->setAlert($content);
     return $this->pushTags(0, $tags, $op, $message, $environment);
 }