|
|
@ -5,7 +5,7 @@ |
|
|
|
$router->get('/ntest', function () { |
|
|
|
$user = \App\Models\User::find(1); |
|
|
|
\Illuminate\Support\Facades\Notification::send($user, new \App\Notifications\SocketNotification(['title' => "hello!!!", 'body' => 'sss'])); |
|
|
|
}); |
|
|
|
})->middleware('bindBusiness'); |
|
|
|
$router->group(['prefix' => 'actions'], function () use ($router) { |
|
|
|
$router->group(['prefix' => 'businesses'], function () use ($router) { |
|
|
|
$router->group(['prefix' => '{business}', 'middleware' => 'bindBusiness'], function () use ($router) { |
|
|
|