31 lines
782 B
PHP
31 lines
782 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers\Administracao;
|
|
|
|
use App\Http\Controllers\Controller;
|
|
use App\Services\Administracao\RelatorioAcessoSistemaService;
|
|
use Illuminate\Http\Response;
|
|
|
|
class RelatorioAcessoSistemaController extends Controller
|
|
{
|
|
protected $modulo = 'administracao';
|
|
protected $funcionalidade = 'relatorio-acesso-sistema';
|
|
|
|
public function index()
|
|
{
|
|
$this->auth(__FUNCTION__);
|
|
|
|
return response()->json(RelatorioAcessoSistemaService::index(), Response::HTTP_OK);
|
|
}
|
|
|
|
public function create()
|
|
{
|
|
return response()->json(RelatorioAcessoSistemaService::create(), Response::HTTP_OK);
|
|
}
|
|
|
|
public function list()
|
|
{
|
|
return response()->json(RelatorioAcessoSistemaService::list(), Response::HTTP_OK);
|
|
}
|
|
}
|