分类API接口代码完善

This commit is contained in:
Chopper
2021-09-22 09:17:59 +08:00
parent a3d73bf7ad
commit f3f3d3f936
2 changed files with 3 additions and 1 deletions

View File

@@ -89,7 +89,7 @@ public class CategoryManagerController {
}
@DeleteMapping(value = "/{id}")
@ApiImplicitParam(name = "goodsId", value = "分类ID", required = true, paramType = "path", dataType = "String")
@ApiImplicitParam(name = "id", value = "分类ID", required = true, paramType = "path", dataType = "String")
@ApiOperation(value = "通过id删除分类")
public ResultMessage<Category> delAllByIds(@NotNull @PathVariable String id) {
Category category = new Category();