Commit 2ff2580538ef3c4fb063ade1607d0f8a88489c15

Authored by changpengfei
1 parent 1941a5e2c2
Exists in master

更新患者信息---小程序端使用json

Showing 1 changed file with 1 additions and 1 deletions

talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/PatientController.java View file @ 2ff2580
... ... @@ -188,7 +188,7 @@
188 188 * @return
189 189 */
190 190 @PostMapping("updatePatient")
191   - public BaseResponse updatePatient(LymsPatient patient){
  191 + public BaseResponse updatePatient(@RequestBody LymsPatient patient){
192 192 BaseResponse baseResponse=new BaseResponse();
193 193 boolean f=false;
194 194 if(Objects.nonNull(patient.getId()) ){