refactor: 修改附件分类支持上下级

This commit is contained in:
2025-04-14 18:11:41 +08:00
parent b70c97f0fa
commit 5050107220
3 changed files with 80 additions and 32 deletions

View File

@@ -373,12 +373,12 @@ Route::group('v1', function () {
// 附件(下载管理)删除
Route::delete('delete/:id', 'Attachment/delete');
// 附件(下载管理)分类列表
Route::get('categorys', 'AttachmentCategory/index')->append(['scene' => 'all']);
// 附件(下载管理)分类列表
Route::get('tree', 'AttachmentCategory/tree');
// 附件(下载管理)分类
Route::group('category', function () {
// 附件(下载管理)分类分页
// 附件(下载管理)分类
Route::get('index', 'AttachmentCategory/index');
// 附件(下载管理)分类详情