findById($user->id); if (!$account->phone) return null; $templateId = $this->getTemplateId($this->templateCode); $params = [ $params['goods_name'], $params['order_sn'], $params['deliver_time'], ]; return $this->send($account->phone, $templateId, $params); } }