mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-05-16 21:27:36 +08:00
improve migration file + seedbox management
This commit is contained in:
@@ -17,6 +17,7 @@ return [
|
||||
'torrent_state' => '全站优惠',
|
||||
'roles_list' => '角色',
|
||||
'ability_list' => '权限',
|
||||
'seedbox_records' => 'SeedBox',
|
||||
],
|
||||
'resources' => [
|
||||
'agent_allow' => [
|
||||
|
||||
@@ -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(段) 二选一',
|
||||
],
|
||||
];
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'type_text' => [
|
||||
\App\Models\SeedBoxRecord::TYPE_USER => '用户',
|
||||
\App\Models\SeedBoxRecord::TYPE_ADMIN => '管理员',
|
||||
],
|
||||
];
|
||||
Reference in New Issue
Block a user