findById($user->id); if (!$account->phone) return null; $templateId = $this->getTemplateId($this->templateCode); $params = [ $params['replier']['name'], $params['course']['title'], ]; return $this->send($account->phone, $templateId, $params); } }