Commit 2bf374c6d65462fd0afca3cfc072c18033d8799e

Authored by liquanyu
1 parent 65dd6775b2

两癌

Showing 1 changed file with 2 additions and 2 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/PihController.java View file @ 2bf374c
... ... @@ -82,10 +82,10 @@
82 82 * @param request
83 83 * @return
84 84 */
85   - @RequestMapping(value = "/report", method = RequestMethod.GET)
  85 + @RequestMapping(value = "/report/{id}", method = RequestMethod.GET)
86 86 @ResponseBody
87 87 @TokenRequired
88   - public BaseResponse getPinReport(@RequestParam(value = "id") String id,@RequestParam(required = false) String doctorId, HttpServletRequest request) {
  88 + public BaseResponse getPinReport(@PathVariable String id,@RequestParam(required = false) String doctorId, HttpServletRequest request) {
89 89 return pihService.getPinReport(id, getUserId(request),doctorId);
90 90 }
91 91