refactor: remove syncing
This commit is contained in:
@@ -38,8 +38,6 @@ class PermissionSeeder extends Seeder
|
||||
'terminal.create' => '创建终端',
|
||||
'terminal.update' => '编辑终端',
|
||||
'terminal.delete' => '删除终端',
|
||||
'terminal.sync' => '同步终端配置',
|
||||
|
||||
// 操作指引权限
|
||||
'guide.view' => '查看指引',
|
||||
'guide.create' => '创建指引',
|
||||
@@ -127,7 +125,6 @@ class PermissionSeeder extends Seeder
|
||||
'terminal.create',
|
||||
'terminal.update',
|
||||
'terminal.delete',
|
||||
'terminal.sync',
|
||||
|
||||
// 操作指引
|
||||
'guide.view',
|
||||
|
||||
@@ -38,13 +38,6 @@ class TerminalSeeder extends Seeder
|
||||
'ip_address' => $ipAddress,
|
||||
'station_id' => $beamline,
|
||||
'diagram_url' => 'https://ssrf.9z.work/scada/demo.html',
|
||||
'display_config' => [
|
||||
'resolution' => '3840x2160',
|
||||
'refresh_rate' => 60,
|
||||
'orientation' => 'landscape',
|
||||
'brightness' => 80,
|
||||
'touch_enabled' => true,
|
||||
],
|
||||
'is_online' => in_array($beamline, ['BL02U1', 'BL07U', 'BL08U', 'BL13U', 'BL15U']),
|
||||
'last_online_at' => in_array($beamline, ['BL02U1', 'BL07U', 'BL08U', 'BL13U', 'BL15U'])
|
||||
? now()
|
||||
|
||||
Reference in New Issue
Block a user