feat: 添加视频分页/详情接口

This commit is contained in:
2025-02-19 18:01:09 +08:00
parent 8fd94f9428
commit 9b60efd6f2
8 changed files with 217 additions and 2 deletions

View File

@@ -45,6 +45,21 @@ Route::group('v1', function () {
Route::group('video', function () {
// 视频上传
Route::post('/:module/upload', 'Upload/video');
// 视频信息列表
Route::get('index', 'Video/index');
// 视频信息详情
Route::get('read/:id', 'Video/read');
// 视频信息添加
Route::post('save', 'Video/save');
// 视频信息更新
Route::put('update/:id', 'Video/update');
// 视频信息删除
Route::delete('delete/:id', 'Video/delete');
});
// 文章模块