mirror of
https://github.com/dyzulk/trustlab-api.git
synced 2026-01-26 05:15:35 +07:00
First commit
This commit is contained in:
35
app/Http/Controllers/ServiceController.php
Normal file
35
app/Http/Controllers/ServiceController.php
Normal file
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use Illuminate\Http\Request;
|
||||
|
||||
class ServiceController extends Controller
|
||||
{
|
||||
public function index()
|
||||
{
|
||||
return response()->json([
|
||||
[
|
||||
'id' => 1,
|
||||
'name' => 'SSL Certificate - Standard',
|
||||
'status' => 'Active',
|
||||
'expiry' => '2026-12-23',
|
||||
'domain' => 'example.com'
|
||||
],
|
||||
[
|
||||
'id' => 2,
|
||||
'name' => 'Code Signing - Pro',
|
||||
'status' => 'Pending',
|
||||
'expiry' => 'N/A',
|
||||
'domain' => 'N/A'
|
||||
],
|
||||
[
|
||||
'id' => 3,
|
||||
'name' => 'Wildcard SSL',
|
||||
'status' => 'Expired',
|
||||
'expiry' => '2025-01-10',
|
||||
'domain' => '*.web.dev'
|
||||
]
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user