toKfAccount(), $this->toTemplate(), $this->toMiniTemplate(), ]; } /** * 客服通知 * @return KfAccountChannel */ public function toKfAccount() { $content = ""; $channel = new KfAccountChannel($this->to_uid, $content); return $channel; } /** * 模版消息 * @return TemplateChannel */ public function toTemplate() { $templateId = ""; $data = []; return new TemplateChannel($this->to_uid, $templateId, $data); } /** * 小程序模版消息 * @return MiniTemplateChannel */ public function toMiniTemplate() { $templateId = ""; $data = []; return new MiniTemplateChannel($this->to_uid, $templateId, $data); } protected function getPagePath() { return parent::getPagePath(); } }