SMSテンプレート

このコミットが含まれているのは:
守矢諏訪子 2021-11-23 15:12:22 +09:00
コミット 72a731e70b
5個のファイルの変更16行の追加14行の削除

ファイルの表示

@ -66,12 +66,7 @@ class ChildrenController extends Controller {
$telact->push();
// SMSを送ります。
$message = 'KIKI承知システムの招待URLが届きました。
▼招待URLはコチラ
'.url('/').urlencode('/c-account/register/'.$token).'
KIKI承知システムを使って「聞いてない」「言ってない」などの問題を解決しよう。';
$message = view('sms.children.register', ['token' => $token]);
\Notification::route('nexmo', '81'.substr($r->tel, 1))->notify(new SmsNotification($message));
DB::commit();
@ -200,10 +195,7 @@ KIKI承知システムを使って「聞いてない」「言ってない
TelActivation::create($create);
// SMSを送ります。
$message = 'パスワード再発行用URLです。
有効期限は8時間以内です。
'.url('/').urlencode('/c-account/forgot-password/reset/'.$token);
$message = view('sms.children.password', ['token' => $token]);
\Notification::route('nexmo', '81'.substr($r->tel, 1))->notify(new SmsNotification($message));
} catch (\Throwable $e) {
// 失敗

ファイルの表示

@ -454,10 +454,7 @@ class FathersController extends Controller {
try {
foreach (json_decode($r->tel) as $tel) {
// SMSを送ります。
$message = '未承知のミーティングがあります。
以下より確認してください。
'.url('/').urlencode('/c-account/meeting/detail/'.$r->meeting_id);
$message = view('sms.fathers.approval', ['meeting_id' => $r->meeting_id]);
\Notification::route('nexmo', '81'.substr($tel, 1))->notify(new SmsNotification($message));
}
}

ファイルの表示

@ -0,0 +1,4 @@
パスワード再発行用URLです。
有効期限は8時間以内です。
{{ url('/').'/c-account/forgot-password/reset/'.$token }}

ファイルの表示

@ -0,0 +1,6 @@
KIKI承知システムの招待URLが届きました。
▼招待URLはコチラ
{{ url('/').'/c-account/register/'.$token }}
KIKI承知システムを使って「聞いてない」「言ってない」などの問題を解決しよう。

ファイルの表示

@ -0,0 +1,3 @@
未承知のミーティングがあります。
以下より確認してください。
{{ url('/').'/c-account/meeting/detail/'.$meeting_id }}