Commit 29e6cbd03e841572ab86ae84ad59c99058688625
1 parent
6a909bd448
Exists in
master
and in
8 other branches
删除多余的方法
Showing 1 changed file with 2 additions and 2 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/PremaritalCheckupController.java
View file @
29e6cbd
... | ... | @@ -34,10 +34,10 @@ |
34 | 34 | * @param request |
35 | 35 | * @return |
36 | 36 | */ |
37 | - @RequestMapping(value = "/addPremaritalCheckup", method = RequestMethod.POST) | |
37 | + @RequestMapping(value = "/addOrUpdatePremaritalCheckup", method = RequestMethod.POST) | |
38 | 38 | @ResponseBody |
39 | 39 | @TokenRequired |
40 | - public BaseResponse addPremaritalCheckup(@RequestBody PremaritalCheckupAddRequest addRequest, | |
40 | + public BaseResponse addOrUpdatePremaritalCheckup(@RequestBody PremaritalCheckupAddRequest addRequest, | |
41 | 41 | HttpServletRequest request){ |
42 | 42 | //获取当前登录用户ID |
43 | 43 | LoginContext loginState = (LoginContext) request.getAttribute("loginContext"); |