Files
rkm-conectasus-ci-sandbox/api/app/Http/Controllers/Externo/Almoxarifado/ConectaSus/FabricanteController.php
Antonio Lopes dos Santos afec302c3e
All checks were successful
build-api-image / build (push) Successful in 51s
init commit
2026-08-04 16:52:02 -03:00

27 lines
639 B
PHP

<?php
namespace App\Http\Controllers\Externo\Almoxarifado\ConectaSus;
use App\Http\Controllers\Externo\Almoxarifado\Controller;
use App\Services\WebService\Almoxarifado\ConectaSus\FabricanteService;
use Illuminate\Http\Response;
class FabricanteController extends Controller
{
protected $controller = __CLASS__;
public function index()
{
$this->auth(__FUNCTION__);
return response()->json(FabricanteService::index(), Response::HTTP_OK);
}
public function show($id)
{
$this->auth(__FUNCTION__);
return response()->json(FabricanteService::show($id), Response::HTTP_OK);
}
}