feat: 添加视频分类分页/详情/添加/更新/设置排序值/删除接口

This commit is contained in:
2025-02-20 17:55:28 +08:00
parent 18a94ea6d2
commit 8bde769a31
4 changed files with 249 additions and 1 deletions

View File

@@ -66,6 +66,27 @@ Route::group('v1', function () {
// 视频信息删除
Route::delete('delete/:id', 'Video/delete');
// 视频分类
Route::group('category', function () {
// 视频分类分页数据
Route::get('index', 'VideoCategory/index');
// 视频分类详情
Route::get('read/:id', 'VideoCategory/read');
// 视频分类添加
Route::post('save', 'VideoCategory/save');
// 视频分类更新
Route::put('update/:id', 'VideoCategory/update');
// 设置视频分类排序值
Route::put('sort/:id', 'VideoCategory/sort');
// 视频分类删除
Route::delete('delete/:id', 'VideoCategory/delete');
});
});
// 文章模块