feat: 新增产品属性增/删/改/查接口
This commit is contained in:
@@ -136,6 +136,24 @@ Route::group('v1', function () {
|
||||
Route::delete('delete/:id', 'ProductCategory/delete');
|
||||
});
|
||||
|
||||
// 产品属性
|
||||
Route::group('attr', function () {
|
||||
// 属性列表
|
||||
Route::get('index', 'ProductAttr/index');
|
||||
|
||||
// 属性详情
|
||||
Route::get('read/:id', 'ProductAttr/read');
|
||||
|
||||
// 属性新增
|
||||
Route::post('save', 'ProductAttr/save');
|
||||
|
||||
// 属性更新
|
||||
Route::put('update/:id', 'ProductAttr/update');
|
||||
|
||||
// 属性删除
|
||||
Route::delete('delete/:id', 'ProductAttr/delete');
|
||||
});
|
||||
|
||||
// 产品分页列表
|
||||
Route::get('index', 'Product/index');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user