Commit d27e5cfa3910d66d495745e0d0c191c7332be34f
1 parent
a6c33b9070
Exists in
master
update
Showing 1 changed file with 1 additions and 1 deletions
talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/PatientController.java
View file @
d27e5cf
| ... | ... | @@ -802,7 +802,7 @@ |
| 802 | 802 | * @return |
| 803 | 803 | */ |
| 804 | 804 | @PostMapping("updatePatientPassword") |
| 805 | - public BaseResponse updatePatientPassword(LymsPatient patient){ | |
| 805 | + public BaseResponse updatePatientPassword(@RequestBody LymsPatient patient){ | |
| 806 | 806 | BaseResponse baseResponse=new BaseResponse(); |
| 807 | 807 | if(1==patient.getType()){//1 重置密码 |
| 808 | 808 | patient.setPpasswd(Constant.COMMON_PASSWD); |