|
@@ -118,6 +118,19 @@ public class BookController {
|
|
HttpRespMsg msg = bookCategoryService.addOrUpdateRank(BookCategory);
|
|
HttpRespMsg msg = bookCategoryService.addOrUpdateRank(BookCategory);
|
|
return msg;
|
|
return msg;
|
|
}
|
|
}
|
|
|
|
+ /**
|
|
|
|
+ * 图书目录的删除
|
|
|
|
+ * 修改时:需要传 id 目录的id
|
|
|
|
+ * @return
|
|
|
|
+ */
|
|
|
|
+ @ApiOperation(value = "图书目录的删除", notes = "图书目录的删除方法")
|
|
|
|
+ @RequestMapping("/delRank")
|
|
|
|
+ @ResponseBody
|
|
|
|
+ public HttpRespMsg delRank(BookCategory BookCategory){
|
|
|
|
+ HttpRespMsg msg = new HttpRespMsg();
|
|
|
|
+ bookCategoryService.removeById(BookCategory.getId());
|
|
|
|
+ return msg;
|
|
|
|
+ }
|
|
/**
|
|
/**
|
|
* 图书详情
|
|
* 图书详情
|
|
* 参数 id 图书id
|
|
* 参数 id 图书id
|