You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
486 B
21 lines
486 B
<?php |
|
|
|
namespace App\Http\Controllers\API\v1\TipePetiApi; |
|
|
|
use Illuminate\Http\Request; |
|
use App\Helpers\ResponseFormatter; |
|
use App\Http\Controllers\Controller; |
|
|
|
class TipePetiApiController extends Controller |
|
{ |
|
public function index() |
|
{ |
|
$tipePeti = \App\Models\Type_peti::get(); |
|
|
|
return ResponseFormatter::success([ |
|
'status' => true, |
|
'message' => 'Data warehouse berhasil diambil', |
|
'tipe_peti' => $tipePeti |
|
]); |
|
} |
|
}
|
|
|