finish seed box basic

This commit is contained in:
xiaomlove
2022-07-23 15:05:32 +08:00
parent b507c41bf0
commit 42bf8f0467
32 changed files with 644 additions and 249 deletions
+4 -1
View File
@@ -17,7 +17,7 @@ return [
'torrent_state' => '全站優惠',
'roles_list' => '角色',
'ability_list' => '權限',
'seedbox_records' => 'SeedBox',
'seed_box_records' => 'SeedBox',
],
'resources' => [
'agent_allow' => [
@@ -76,5 +76,8 @@ return [
'bulk_action_attach_tag' => '設置標簽',
'action_approval' => '審核',
],
'seed_box_record' => [
'toggle_status' => '更改狀態',
],
]
];
+2 -1
View File
@@ -172,7 +172,7 @@ return [
'role' => [
'class' => '關聯用户等級',
],
'seedbox_record' => [
'seed_box_record' => [
'label' => 'SeedBox 記錄',
'type' => '添加類型',
'operator' => '運營商',
@@ -181,5 +181,6 @@ return [
'ip_begin' => '起始 IP',
'ip_end' => '結束 IP',
'ip_help' => '起始 IP/結束 IP、IP(段) 二選一',
'status' => '狀態',
],
];
+17
View File
@@ -0,0 +1,17 @@
<?php
return [
'type_text' => [
\App\Models\SeedBoxRecord::TYPE_USER => '用戶',
\App\Models\SeedBoxRecord::TYPE_ADMIN => '管理員',
],
'status_text' => [
\App\Models\SeedBoxRecord::STATUS_UNAUDITED => '未審核',
\App\Models\SeedBoxRecord::STATUS_ALLOWED => '已通過',
\App\Models\SeedBoxRecord::STATUS_DENIED => '已拒絕',
],
'status_change_message' => [
'subject' => 'SeedBox 記錄狀態變更',
'body' => '你的 ID 為 :id 的 SeedBox 記錄狀態被 :operator 由 :old_status 變更為 :new_status',
],
];