移除文章类型删除

This commit is contained in:
fengtianyangyang
2022-04-13 12:00:40 +08:00
parent 761982474c
commit ec04c3221f
3 changed files with 1 additions and 22 deletions

View File

@@ -77,14 +77,6 @@ public class ArticleManagerController {
return ResultUtil.data(articleService.updateArticleType(article));
}
@ApiOperation(value = "文章删除-文章类型")
@ApiImplicitParam(name = "type", value = "文章类型", required = true, dataType = "String", paramType = "path")
@DeleteMapping(value = "/delByIds/{type}")
public ResultMessage<Object> delAllByType(@PathVariable String type,String id) {
articleService.delAllByType(type,id);
return ResultUtil.success();
}
@ApiOperation(value = "修改文章状态")
@ApiImplicitParams({
@ApiImplicitParam(name = "id", value = "文章ID", required = true, paramType = "path"),
@@ -97,7 +89,7 @@ public class ArticleManagerController {
}
@ApiOperation(value = "批量删除--id")
@ApiOperation(value = "批量删除")
@ApiImplicitParam(name = "id", value = "文章ID", required = true, dataType = "String", paramType = "path")
@DeleteMapping(value = "/delByIds/{id}")
public ResultMessage<Object> delAllByIds(@PathVariable String id) {