mirror of
https://github.com/v2board/v2board.git
synced 2024-11-14 07:29:13 +08:00
21 lines
546 B
PHP
21 lines
546 B
PHP
<?php
|
|
namespace App\Http\Routes;
|
|
|
|
use Illuminate\Contracts\Routing\Registrar;
|
|
|
|
class StaffRoute
|
|
{
|
|
public function map(Registrar $router)
|
|
{
|
|
$router->group([
|
|
'prefix' => 'staff',
|
|
'middleware' => 'staff'
|
|
], function ($router) {
|
|
// Ticket
|
|
$router->get ('/ticket/fetch', 'Staff\\TicketController@fetch');
|
|
$router->post('/ticket/reply', 'Staff\\TicketController@reply');
|
|
$router->post('/ticket/close', 'Staff\\TicketController@close');
|
|
});
|
|
}
|
|
}
|