向指定标签粉丝推送图文消息bug

mao02

类EasyWeChat\OfficialAccount\Broadcasting\Client 54行:

 public function send(array $message)
    {
        /*
         * 当向指定标签粉丝推送数据时,$message['filter']['is_to_all'] === false,
         * 但是此时应调用cgi-bin/message/mass/sendall接口,
         * 当调用cgi-bin/message/mass/send 认为向指定open_id推送,报错。
         */
        $api = Arr::get($message, 'filter.is_to_all') ? 'cgi-bin/message/mass/sendall' : 'cgi-bin/message/mass/send';

        return $this->httpPostJson($api, $message);
    }