torrent operation log type add edit&delete

This commit is contained in:
xiaomlove
2022-12-08 03:48:20 +08:00
parent 6c58a38166
commit 7386806bd6
22 changed files with 386 additions and 71 deletions
+1
View File
@@ -29,6 +29,7 @@ return [
'plugin' => '插件',
'category' => '主分类',
'second_icon' => '第二图标',
'torrent_operation_log' => '种子操作记录',
],
'resources' => [
'agent_allow' => [
+4
View File
@@ -163,6 +163,10 @@ return [
'picktype' => '推荐',
'promotion_time_type' => '优惠时间类型',
'hr' => 'H&R',
'added_begin' => '发布时间大于',
'added_end' => '发布时间小于',
'size_begin' => '体积大于',
'size_end' => '体积小于',
],
'hit_and_run' => [
'label' => '用户 H&R',
@@ -0,0 +1,7 @@
<?php
return [
'fields' => [
'action_type' => '操作类型',
],
];
+10
View File
@@ -59,6 +59,16 @@ return [
'type_text' => '标记未审核',
'notify_subject' => '种子标记未审核',
'notify_msg' => '你的种子:[url=:detail_url]:torrent_name[/url] 被 :operator 标记未审核',
],
\App\Models\TorrentOperationLog::ACTION_TYPE_EDIT => [
'type_text' => '编辑',
'notify_subject' => '种子被编辑',
'notify_msg' => '你的种子:[url=:detail_url]:torrent_name[/url] 被 :operator 编辑',
],
\App\Models\TorrentOperationLog::ACTION_TYPE_DELETE => [
'type_text' => '删除',
'notify_subject' => '种子被删除',
'notify_msg' => '你的种子::torrent_name 被 :operator 删除',
]
],
'owner_update_torrent_subject' => '审核拒绝种子已更新',