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.
20 lines
450 B
20 lines
450 B
<?php |
|
|
|
namespace App\Http\Controllers\API\v1\AssetStatusApi; |
|
|
|
use App\Helpers\ResponseFormatter; |
|
use App\Http\Controllers\Controller; |
|
use Illuminate\Http\Request; |
|
|
|
class AssetStatusApiController extends Controller |
|
{ |
|
public function index() |
|
{ |
|
$m_asset = \App\Models\m_asset::get(); |
|
|
|
return ResponseFormatter::success([ |
|
'message' => 'Data asset berhasil diambil', |
|
'asset' => $m_asset |
|
]); |
|
} |
|
}
|
|
|