|
@ -9,8 +9,8 @@ $router->get('/lab', function () { |
|
|
$router->get('/ntest', function () { |
|
|
$router->get('/ntest', function () { |
|
|
$user = \App\Models\User::find(1); |
|
|
$user = \App\Models\User::find(1); |
|
|
\Illuminate\Support\Facades\Notification::send($user, new \App\Notifications\SmsNotification(['verification_code' => "1234"])); |
|
|
\Illuminate\Support\Facades\Notification::send($user, new \App\Notifications\SmsNotification(['verification_code' => "1234"])); |
|
|
(new \App\Utilities\HelperClass\NotificationHelper()) |
|
|
|
|
|
->makeSmsNotif('template_name', ['user' => 'myUser', 'business' => 'myBusiness']); |
|
|
|
|
|
|
|
|
// (new \App\Utilities\HelperClass\NotificationHelper())
|
|
|
|
|
|
// ->makeSmsNotif('template_name', ['user' => 'myUser', 'business' => 'myBusiness']);
|
|
|
})->middleware('bindBusiness'); |
|
|
})->middleware('bindBusiness'); |
|
|
$router->group(['prefix' => 'actions'], function () use ($router) { |
|
|
$router->group(['prefix' => 'actions'], function () use ($router) { |
|
|
$router->group(['prefix' => 'businesses'], function () use ($router) { |
|
|
$router->group(['prefix' => 'businesses'], function () use ($router) { |
|
|