diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/AppController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/AppController.java index 6f4a64a..961dd69 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/AppController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/AppController.java @@ -187,7 +187,7 @@ public class AppController extends BaseController */ @ApiOperation("患者信息修改") @PostMapping("/patient/modify") - public AjaxResult patientsWithModified(AppPatientReq appPatientReq) { + public AjaxResult patientsWithModified(@RequestBody AppPatientReq appPatientReq) { TPatient tPatient = new TPatient(); BeanUtils.copyProperties(appPatientReq, tPatient); return AjaxResult.success(tPatientService.updateTPatient(tPatient));