Commit b1e2aa6285b4e603400d7d182799fd4a45ac7a11
1 parent
770a2de814
Exists in
master
and in
6 other branches
接口修改
Showing 1 changed file with 2 additions and 2 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/CouponController.java
View file @
b1e2aa6
| ... | ... | @@ -32,10 +32,10 @@ |
| 32 | 32 | * @param hospitalId |
| 33 | 33 | * @return |
| 34 | 34 | */ |
| 35 | - @RequestMapping(method = RequestMethod.PUT, value = "/{userId}/{hospitalId}") | |
| 35 | + @RequestMapping(method = RequestMethod.POST, value = "/") | |
| 36 | 36 | @ResponseBody |
| 37 | 37 | @TokenRequired |
| 38 | - public BaseObjectResponse create(@PathVariable String userId, @PathVariable String hospitalId, HttpServletRequest request) { | |
| 38 | + public BaseObjectResponse create(String userId, String hospitalId, HttpServletRequest request) { | |
| 39 | 39 | LoginContext loginState = (LoginContext) request.getAttribute("loginContext"); |
| 40 | 40 | return couponService.create(userId, hospitalId, loginState.getId()); |
| 41 | 41 | // return couponService.create(userId, hospitalId, 200); |