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 c8fbde9..04d38dd 100644 --- a/talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/PatientController.java +++ b/talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/PatientController.java @@ -802,7 +802,7 @@ public class PatientController { * @return */ @PostMapping("updatePatientPassword") - public BaseResponse updatePatientPassword(LymsPatient patient){ + public BaseResponse updatePatientPassword(@RequestBody LymsPatient patient){ BaseResponse baseResponse=new BaseResponse(); if(1==patient.getType()){//1 重置密码 patient.setPpasswd(Constant.COMMON_PASSWD);