[增添]增加了时间配置管理功能及页面
This commit is contained in:
22
management-panel/app/Settings/TimeSettings.php
Normal file
22
management-panel/app/Settings/TimeSettings.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace App\Settings;
|
||||
|
||||
use Spatie\LaravelSettings\Settings;
|
||||
|
||||
class TimeSettings extends Settings
|
||||
{
|
||||
// 默认拉取时间
|
||||
public ?string $global_time;
|
||||
// 系统扫描时间
|
||||
public ?string $node_exporter_time;
|
||||
// 系统配置时间
|
||||
public ?string $opcua_time;
|
||||
// 数据存储时间
|
||||
public ?string $prometheus_time;
|
||||
|
||||
public static function group(): string
|
||||
{
|
||||
return 'time';
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user