feat: 新增文章回收站分页列表、恢复、删除接口

This commit is contained in:
2025-01-18 10:48:34 +08:00
parent af32db1c62
commit 58e16f9b08
2 changed files with 95 additions and 0 deletions

View File

@@ -87,6 +87,18 @@ Route::group('v1', function () {
// 导出
Route::get('export', 'ArticleLeaveMessage/export');
});
// 文章回收站
Route::group('trash', function () {
// 文章回收站列表
Route::get('index', 'ArticleTrash/index');
// 文章回收站还原
Route::get('restore/:id', 'ArticleTrash/restore');
// 文章回收站删除
Route::delete('delete/:id', 'ArticleTrash/delete');
});
});
})->prefix('v1.');