findById($user->id); if (!$account->phone) return null; $templateId = $this->getTemplateId($this->templateCode); $params = [ $params['refund']['subject'], $params['refund']['sn'], $params['refund']['amount'], ]; return $this->send($account->phone, $templateId, $params); } }