# 书籍评论 admin 接口 ## 基本信息 - 模块:book - 资源:评论 - 端:admin - 鉴权:挂载 `PrivateGroup`,需要 `JWT + Casbin` - 操作审计:创建、更新、单删、批量删除写操作启用 `OperationRecord` - 路由前缀:`/book` ## 默认 CRUD | 动作 | Method | 路径 | API 方法 | Service 方法 | |:---|:---|:---|:---|:---| | 创建 | `POST` | `/book/createBookComment` | `CreateBookComment` | `CreateBookComment` | | 单删 | `DELETE` | `/book/deleteBookComment` | `DeleteBookComment` | `DeleteBookComment` | | 批量删除 | `DELETE` | `/book/deleteBookCommentByIds` | `DeleteBookCommentByIds` | `DeleteBookCommentByIds` | | 更新 | `PUT` | `/book/updateBookComment` | `UpdateBookComment` | `UpdateBookComment` | | 详情 | `GET` | `/book/findBookComment` | `FindBookComment` | `GetBookComment` | | 分页列表 | `GET` | `/book/getBookCommentList` | `GetBookCommentList` | `GetBookCommentInfoList` | ## 参数与返回 - 创建、更新:`body` 使用 `book.BookComment`。 - 单删、详情:`query id`。 - 批量删除:`query ids[]`。 - 分页列表:`query` 使用 `bookReq.BookCommentSearch`,返回 `response.PageResult`。 - 详情返回:`bookRes.BookCommentResponse`。