mybatis中:
@RequestMapping(value = "/detail/{id}", method = RequestMethod.GET, produces = "application/json")
postman:
http://localhost:8080/platform/defect/patrol/detail/1111,其中1111为id
postman 中get传参数
原文:https://www.cnblogs.com/MIUMIUBLING/p/11940271.html