improve migration file + seedbox management

This commit is contained in:
xiaomlove
2022-07-21 15:42:12 +08:00
parent b2e3c2cce3
commit b507c41bf0
33 changed files with 577 additions and 12 deletions
+1
View File
@@ -17,6 +17,7 @@ return [
'torrent_state' => 'Free leach',
'roles_list' => 'Roles',
'ability_list' => 'Permissions',
'seedbox_records' => 'SeedBox',
],
'resources' => [
'agent_allow' => [
+10
View File
@@ -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',
],
];
+8
View File
@@ -0,0 +1,8 @@
<?php
return [
'type_text' => [
\App\Models\SeedBoxRecord::TYPE_USER => 'User',
\App\Models\SeedBoxRecord::TYPE_ADMIN => 'Administrator',
],
];