torrent api + swip constants

This commit is contained in:
xiaomlove
2021-05-15 19:29:44 +08:00
parent 786095ca96
commit 33e99516b6
55 changed files with 1968 additions and 38 deletions

View File

@@ -10,13 +10,13 @@ class ToolRepository extends BaseRepository
public function getSystemInfo(): array
{
$systemInfo = [
'nexus_version' => config('app.nexus_version'),
'nexus_version' => VERSION_NUMBER,
'nexus_release_date' => RELEASE_DATE,
'laravel_version' => \Illuminate\Foundation\Application::VERSION,
'php_version' => PHP_VERSION,
'mysql_version' => DB::select(DB::raw('select version() as info'))[0]->info,
'os' => PHP_OS,
'server_software' => $_SERVER['SERVER_SOFTWARE'],
];
return $systemInfo;