luodangjia
2024-12-10 18e68871f0423910f748a727ceab297a8e4765d1
ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/GoodsCategoryController.java
@@ -62,6 +62,16 @@
        return R.ok(page);
    }
    @DeleteMapping("/delete")
    @ApiOperation(value = "删除商品分类", tags = {"管理后台-商品分类"})
    public R<Void> delete(@RequestParam("id") Integer id){
        goodsCategoryService.removeById(id);
        return R.ok();
    }
    @GetMapping("/index/list")
   @ApiOperation(value = "商品分类", tags = {"小程序-首页"})
   public R<List<GoodsCategory>> indexlist(){