API bookmark

This commit is contained in:
xiaomlove
2025-09-14 04:42:37 +07:00
parent 3eaa2fc14e
commit 01cbb0fa61
16 changed files with 94 additions and 22 deletions

View File

@@ -4,5 +4,8 @@ return [
'actions' => [
'store_success' => 'Add to bookmark success!',
'delete_success' => 'Cancel bookmark success!',
]
],
'torrent_not_exists' => 'Torrent: :torrent_id not exists!',
'torrent_already_bookmarked' => 'Torrent: :torrent_id already bookmarked!',
'torrent_has_not_been_bookmarked' => 'Torrent: :torrent_id not bookmarked!',
];

View File

@@ -17,4 +17,12 @@ return [
'text' => 'View user basic info',
'desc' => 'View user basic info',
],
'bookmark:store' => [
'text' => 'Add bookmark',
'desc' => 'Add bookmark',
],
'bookmark:delete' => [
'text' => 'Delete bookmark',
'desc' => 'Delete bookmark',
],
];

View File

@@ -4,5 +4,8 @@ return [
'actions' => [
'store_success' => '添加收藏成功!',
'delete_success' => '取消收藏成功!',
]
],
'torrent_not_exists' => '种子: :torrent_id 不存在',
'torrent_already_bookmarked' => '种子: :torrent_id 已经收藏',
'torrent_has_not_been_bookmarked' => '种子: :torrent_id 未被收藏',
];

View File

@@ -17,4 +17,12 @@ return [
'text' => '查看用户基本信息',
'desc' => '查看用户基本信息',
],
'bookmark:store' => [
'text' => '添加收藏种子',
'desc' => '添加收藏的种子',
],
'bookmark:delete' => [
'text' => '删除收藏的种子',
'desc' => '删除收藏的种子',
],
];

View File

@@ -4,5 +4,8 @@ return [
'actions' => [
'store_success' => '添加收藏成功!',
'delete_success' => '取消收藏成功!',
]
],
'torrent_not_exists' => '種子: :torrent_id 不存在',
'torrent_already_bookmarked' => '種子: :torrent_id 已經收藏',
'torrent_has_not_been_bookmarked' => '種子: :torrent_id 未被收藏',
];

View File

@@ -17,4 +17,12 @@ return [
'text' => '查看用戶基本信息',
'desc' => '查看用戶基本信息',
],
'bookmark:store' => [
'text' => '添加收藏種子',
'desc' => '添加收藏的種子',
],
'bookmark:delete' => [
'text' => '刪除收藏的種子',
'desc' => '刪除收藏的種子',
],
];