Explorar o código

图书详情接口

%!s(int64=5) %!d(string=hai) anos
pai
achega
dc4ac41aa3

+ 8 - 0
bms/src/main/java/com/hssx/bms/controller/BookController.java

@@ -119,5 +119,13 @@ public class BookController {
         return msg;
     }
 
+    @ApiOperation(value = "图书详情", notes = "图书详情")
+    @RequestMapping("/detail")
+    @ResponseBody
+    public HttpRespMsg detail(Book book){
+        HttpRespMsg msg = new HttpRespMsg();
+        msg.data = bookService.getById(book.getId());
+        return msg;
+    }
 }
 

+ 5 - 1
bms/src/main/java/com/hssx/bms/controller/InstitutionalInformationController.java

@@ -139,7 +139,11 @@ public class InstitutionalInformationController {
         return msg;
     }
 
-
+    /**
+     * 教育机构信息的删除
+     * 参数:id 机构id
+     * @return
+     */
 
 }