芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/kwesioben.com/paymoney/app/Services/Sms/TechVillageSms.php
response = [ 'status' => false, 'message' => __('SMS can not be sent, please contact the website administrator.') ]; } /** * Get Email Template based on alias * * @param int alias * @return array */ protected function getSmsTemplate($alias) { if (!isSmsEnabled() || empty($alias)) { return $this->response; } $template = EmailTemplate::alias($alias)->defaultLanguage()->type('sms')->first(['subject', 'body']); if (empty($template->subject) || empty($template->body)) { $template = EmailTemplate::alias($alias)->englishLanguage()->type('sms')->first(['subject', 'body']); } if (!$template) { return $this->response; } return $this->response = [ 'status' => true, 'template' => $template ]; } }