# springbootvue **Repository Path**: nikey002/springbootvue ## Basic Information - **Project Name**: springbootvue - **Description**: 图书管理系统后端 - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-04-20 - **Last Updated**: 2021-11-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # springbootvue #### 介绍 图书管理系统后端 #### 接口访问地址 **1. 分页查询图书信息** - @GetMapping("/findAll/{page}/{size}") - @PathVariable("page") Integer page,@PathVariable("size") Integer size - 如:每页显示5条记录,查询第一页的记录 - http://localhost:8181/book/findAll/0/5 **2. 按照id查询图书信息** - @GetMapping("/findById/{id}") - @PathVariable("id") Integer id - http://localhost:8181/book/findById/1 **3. 保存图书信息** - @PostMapping("/save") - @RequestBody Book book - http://localhost:8181/book/save **4. 更新图书信息** - @PutMapping("/update") - @RequestBody Book book - http://localhost:8181/book/update **5. 按照id删除图书信息** - @DeleteMapping("/deleteById/{id}") - @PathVariable("id") Integer id - http://localhost:8181/book/deleteById/37