protected function sendCustomMessage(array $data) { $result = $this->httpRaw(self::WECHAT_CUSTOM_MESSAGE_SEND_URL . 'access_token=' . $this->getAccessToken(), $data); return isset($result['errmsg']) && $result['errmsg'] == 'ok'; }