mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 03:57:22 +08:00
improve migration file + seedbox management
This commit is contained in:
@@ -17,6 +17,7 @@ return [
|
||||
'torrent_state' => 'Free leach',
|
||||
'roles_list' => 'Roles',
|
||||
'ability_list' => 'Permissions',
|
||||
'seedbox_records' => 'SeedBox',
|
||||
],
|
||||
'resources' => [
|
||||
'agent_allow' => [
|
||||
|
||||
@@ -172,4 +172,14 @@ return [
|
||||
'role' => [
|
||||
'class' => 'Relate user class',
|
||||
],
|
||||
'seedbox_record' => [
|
||||
'label' => 'SeedBox Records',
|
||||
'type' => 'Add type',
|
||||
'operator' => 'Operator',
|
||||
'bandwidth' => 'Bandwidth(Mbps)',
|
||||
'ip' => 'IP(Block)',
|
||||
'ip_begin' => 'Begin IP',
|
||||
'ip_end' => 'End IP',
|
||||
'ip_help' => 'Begin IP/End IP, IP(Block) Choose one',
|
||||
],
|
||||
];
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'type_text' => [
|
||||
\App\Models\SeedBoxRecord::TYPE_USER => 'User',
|
||||
\App\Models\SeedBoxRecord::TYPE_ADMIN => 'Administrator',
|
||||
],
|
||||
];
|
||||
Reference in New Issue
Block a user