mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-06 16:00:57 +08:00
23 lines
430 B
PHP
23 lines
430 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers;
|
|
|
|
use App\Repositories\ToolRepository;
|
|
use Illuminate\Http\Request;
|
|
|
|
class ToolController extends Controller
|
|
{
|
|
private $repository;
|
|
|
|
public function __construct(ToolRepository $repository)
|
|
{
|
|
$this->repository = $repository;
|
|
}
|
|
|
|
public function systemInfo()
|
|
{
|
|
$result = $this->repository->getSystemInfo();
|
|
return $this->success($result);
|
|
}
|
|
}
|