feat: 新增产品分类增/删/改/查接口

This commit is contained in:
2025-02-11 16:30:58 +08:00
parent bebb7e8e23
commit bd66d8d61f
5 changed files with 308 additions and 1 deletions

View File

@@ -112,6 +112,24 @@ Route::group('v1', function () {
// 产品模块
Route::group('product', function () {
// 产品分类
Route::group('category', function () {
// 分类列表
Route::get('index', 'ProductCategory/index');
// 分类详情
Route::get('read/:id', 'ProductCategory/read');
// 分类新增
Route::post('save', 'ProductCategory/save');
// 分类更新
Route::put('update/:id', 'ProductCategory/update');
// 分类删除
Route::delete('delete/:id', 'ProductCategory/delete');
});
// 产品分页列表
Route::get('index', 'Product/index');