「SMS送信、KIKIと表示されず、電話番号が表示されている。fromをKIKIに変更でお願いいたします。」
このコミットが含まれているのは:
コミット
a274c0891e
|
@ -168,7 +168,7 @@ class ChildrenController extends Controller {
|
|||
|
||||
// SMSを送ります。
|
||||
$message = view('sms.children.register.main', ['tel' => $r->tel, 'password' => $r->password]);
|
||||
\Notification::route('nexmo', '81'.substr($r->tel, 1))->notify(new SmsNotification($message));
|
||||
\Notification::route('nexmo', '81'.substr($get->tel, 1))->notify(new SmsNotification($message));
|
||||
|
||||
DB::commit();
|
||||
} catch (\Throwable $e) {
|
||||
|
|
|
@ -43,6 +43,7 @@ class SmsNotification extends Notification
|
|||
{
|
||||
return (new NexmoMessage())
|
||||
->content($this->message)
|
||||
->from('KIKI')
|
||||
->unicode();
|
||||
}
|
||||
|
||||
|
|
|
@ -12,7 +12,8 @@
|
|||
"intervention/image": "^2.7",
|
||||
"laravel/framework": "^8.12",
|
||||
"laravel/nexmo-notification-channel": "^2.5",
|
||||
"laravel/tinker": "^2.5"
|
||||
"laravel/tinker": "^2.5",
|
||||
"nexmo/laravel": "^2.4"
|
||||
},
|
||||
"require-dev": {
|
||||
"facade/ignition": "^2.5",
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||
"This file is @generated automatically"
|
||||
],
|
||||
"content-hash": "9c7f3f3ae06176c13a2e71065d0491b6",
|
||||
"content-hash": "04ab94d1f04d3f8c89e2f15bc4e9af74",
|
||||
"packages": [
|
||||
{
|
||||
"name": "asm89/stack-cors",
|
||||
|
|
|
@ -33,7 +33,7 @@ return [
|
|||
'nexmo' => [
|
||||
'key' => env('NEXMO_KEY'),
|
||||
'secret' => env('NEXMO_SECRET'),
|
||||
'sms_from' => '819012345678',
|
||||
'sms_from' => 'KIKI',
|
||||
],
|
||||
|
||||
];
|
||||
|
|
新しいイシューから参照