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' => '全站优惠',
'roles_list' => '角色',
'ability_list' => '权限',
'seedbox_records' => 'SeedBox',
],
'resources' => [
'agent_allow' => [
+10
View File
@@ -175,4 +175,14 @@ return [
'name' => '标识',
'title' => '名称',
],
'seedbox_record' => [
'label' => 'SeedBox 记录',
'type' => '添加类型',
'operator' => '运营商',
'bandwidth' => '带宽(Mbps)',
'ip' => 'IP(段)',
'ip_begin' => '起始 IP',
'ip_end' => '结束 IP',
'ip_help' => '起始 IP/结束 IP、IP(段) 二选一',
],
];
+8
View File
@@ -0,0 +1,8 @@
<?php
return [
'type_text' => [
\App\Models\SeedBoxRecord::TYPE_USER => '用户',
\App\Models\SeedBoxRecord::TYPE_ADMIN => '管理员',
],
];