feat: 新增产品分类增/删/改/查接口
This commit is contained in:
@@ -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');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user