补全注释

This commit is contained in:
2018-05-19 23:06:39 +08:00
parent 3b10431cbe
commit d896ffe4f2
2 changed files with 15 additions and 0 deletions

View File

@@ -34,6 +34,16 @@ public class UpdateBookController {
@Autowired
private TransportClient client;
/**
* 更新数据
*
* @param id
* @param title
* @param author
* @param wordCount
* @param publishDate
* @return
*/
@PutMapping("/novel")
public ResponseEntity update(@RequestParam(name = "id") String id,
@RequestParam(name = "title", required = false) String title,