From 2ff2580538ef3c4fb063ade1607d0f8a88489c15 Mon Sep 17 00:00:00 2001 From: changpengfei Date: Sat, 18 Sep 2021 14:16:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=82=A3=E8=80=85=E4=BF=A1?= =?UTF-8?q?=E6=81=AF---=E5=B0=8F=E7=A8=8B=E5=BA=8F=E7=AB=AF=E4=BD=BF?= =?UTF-8?q?=E7=94=A8json?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/lyms/talkonlineweb/controller/PatientController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/PatientController.java b/talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/PatientController.java index 239cb32..081d168 100644 --- a/talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/PatientController.java +++ b/talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/PatientController.java @@ -188,7 +188,7 @@ public class PatientController { * @return */ @PostMapping("updatePatient") - public BaseResponse updatePatient(LymsPatient patient){ + public BaseResponse updatePatient(@RequestBody LymsPatient patient){ BaseResponse baseResponse=new BaseResponse(); boolean f=false; if(Objects.nonNull(patient.getId()) ){ -- 1.8.3.1