1 changed files with 19 additions and 0 deletions
@ -0,0 +1,19 @@
|
||||
<?php |
||||
|
||||
namespace App\Http\Controllers; |
||||
|
||||
use App\Constants\HttpStatus; |
||||
|
||||
class ApiController extends Controller |
||||
{ |
||||
/** |
||||
* Muestra un mensaje por defecto. |
||||
*/ |
||||
public function bienvenida() |
||||
{ |
||||
return response()->json( |
||||
['respuesta' => trans('api.PREDETERMINADA')], |
||||
HttpStatus::OK |
||||
); |
||||
} |
||||
} |
||||
Loading…
Reference in new issue