diff --git a/muyu-modules/muyu-product/muyu-product-server/src/main/java/com/muyu/product/controller/BrandInfoController.java b/muyu-modules/muyu-product/muyu-product-server/src/main/java/com/muyu/product/controller/BrandInfoController.java index a68b886..772b6e7 100644 --- a/muyu-modules/muyu-product/muyu-product-server/src/main/java/com/muyu/product/controller/BrandInfoController.java +++ b/muyu-modules/muyu-product/muyu-product-server/src/main/java/com/muyu/product/controller/BrandInfoController.java @@ -86,6 +86,15 @@ public class BrandInfoController extends BaseController { /* * 删除品牌信息 * */ + @RequiresPermissions("product:brand:remove") + @Log(title = "品牌信息",businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + @ApiOperation("删除品牌信息") + @ApiImplicitParam(name = "id", value = "id", required = true, dataType = "Long", paramType = "path", dataTypeClass = String.class, example = "1,2,3,4") + public Resultremove(@PathVariable List ids){ + return toAjax(brandInfoService.removeBatchByIds(ids)); + } +