feat: 添加视频分类分页/详情/添加/更新/设置排序值/删除接口
This commit is contained in:
@@ -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');
|
||||
});
|
||||
});
|
||||
|
||||
// 文章模块
|
||||
|
||||
Reference in New Issue
Block a user