Commit f662d8409d05e2fa1a9f14c76201d6840b2d6d94

Authored by cfl
1 parent 5842555029
Exists in master and in 2 other branches dev, luanping

跨域问题修改

Showing 1 changed file with 2 additions and 2 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/HospitalCheckItemConfController.java View file @ f662d84
... ... @@ -107,7 +107,7 @@
107 107 return frontEndResult;
108 108 }
109 109  
110   - @RequestMapping(method = RequestMethod.POST, value = "/add")
  110 + @RequestMapping(method = RequestMethod.POST)
111 111 @ResponseBody
112 112 @TokenRequired
113 113 public BaseResponse addHospitalCheckItemConf(HttpServletRequest request, @RequestBody HospitalCheckItemConf checkItemConf){
... ... @@ -158,7 +158,7 @@
158 158  
159 159 }
160 160  
161   - @RequestMapping(method = RequestMethod.POST, value = "/update")
  161 + @RequestMapping(method = RequestMethod.PUT)
162 162 @ResponseBody
163 163 @TokenRequired
164 164 public BaseResponse updateHospitalCheckItemConf(HttpServletRequest request,@RequestBody HospitalCheckItemConf checkItemConf){