feat: 添加附件(下载管理)回收站分页/恢复/删除接口
This commit is contained in:
@@ -273,47 +273,59 @@ Route::group('v1', function () {
|
||||
// 产品回收站删除
|
||||
Route::delete('delete/:id', 'ProductTrash/delete');
|
||||
});
|
||||
});
|
||||
|
||||
// 附件(下载管理)
|
||||
Route::group('attachment', function () {
|
||||
// 附件(下载管理)列表
|
||||
Route::get('index', 'Attachment/index');
|
||||
// 附件(下载管理)
|
||||
Route::group('attachment', function () {
|
||||
// 附件(下载管理)列表
|
||||
Route::get('index', 'Attachment/index');
|
||||
|
||||
// 附件(下载管理)详情
|
||||
Route::get('read/:id', 'Attachment/read');
|
||||
// 附件(下载管理)详情
|
||||
Route::get('read/:id', 'Attachment/read');
|
||||
|
||||
// 附件(下载管理)新增
|
||||
Route::post('save', 'Attachment/save');
|
||||
// 附件(下载管理)新增
|
||||
Route::post('save', 'Attachment/save');
|
||||
|
||||
// 附件(下载管理)更新
|
||||
Route::put('update/:id', 'Attachment/update');
|
||||
// 附件(下载管理)更新
|
||||
Route::put('update/:id', 'Attachment/update');
|
||||
|
||||
// 附件(下载管理)设置排序值
|
||||
Route::get('sort/:id', 'Attachment/sort');
|
||||
// 附件(下载管理)设置排序值
|
||||
Route::post('sort/:id', 'Attachment/sort');
|
||||
|
||||
// 附件(下载管理)删除
|
||||
Route::delete('delete/:id', 'Attachment/delete');
|
||||
// 附件(下载管理)删除
|
||||
Route::delete('delete/:id', 'Attachment/delete');
|
||||
|
||||
// 附件(下载管理)分类
|
||||
Route::group('category', function () {
|
||||
// 附件(下载管理)分类列表
|
||||
Route::get('index', 'AttachmentCategory/index');
|
||||
// 附件(下载管理)分类
|
||||
Route::group('category', function () {
|
||||
// 附件(下载管理)分类列表
|
||||
Route::get('index', 'AttachmentCategory/index');
|
||||
|
||||
// 附件(下载管理)分类详情
|
||||
Route::get('read/:id', 'AttachmentCategory/read');
|
||||
// 附件(下载管理)分类详情
|
||||
Route::get('read/:id', 'AttachmentCategory/read');
|
||||
|
||||
// 附件(下载管理)分类新增
|
||||
Route::post('save', 'AttachmentCategory/save');
|
||||
// 附件(下载管理)分类新增
|
||||
Route::post('save', 'AttachmentCategory/save');
|
||||
|
||||
// 附件(下载管理)分类更新
|
||||
Route::put('update/:id','AttachmentCategory/update');
|
||||
// 附件(下载管理)分类更新
|
||||
Route::put('update/:id','AttachmentCategory/update');
|
||||
|
||||
// 附件(下载管理)分类设置排序值
|
||||
Route::post('sort/:id', 'AttachmentCategory/sort');
|
||||
// 附件(下载管理)分类设置排序值
|
||||
Route::post('sort/:id', 'AttachmentCategory/sort');
|
||||
|
||||
// 附件(下载管理)分类删除
|
||||
Route::delete('delete/:id', 'AttachmentCategory/delete');
|
||||
});
|
||||
// 附件(下载管理)分类删除
|
||||
Route::delete('delete/:id', 'AttachmentCategory/delete');
|
||||
});
|
||||
|
||||
// 附件(下载管理)回收站
|
||||
Route::group('trash', function () {
|
||||
// 附件(下载管理)回收站列表
|
||||
Route::get('index', 'AttachmentTrash/index');
|
||||
|
||||
// 附件(下载管理)回收站还原
|
||||
Route::get('restore/:id', 'AttachmentTrash/restore');
|
||||
|
||||
// 附件(下载管理)回收站删除
|
||||
Route::delete('delete/:id', 'AttachmentTrash/delete');
|
||||
});
|
||||
});
|
||||
})->prefix('v1.');
|
||||
|
||||
Reference in New Issue
Block a user