From dceb59eb94eabf0a7e60b5e2b784e5ff1b6702b8 Mon Sep 17 00:00:00 2001 From: chenfei <18955928961@163.com> Date: Wed, 10 Aug 2022 14:24:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=82=A3=E8=80=85=E4=BF=A1=E6=81=AF=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E5=85=A5=E5=8F=82=E6=94=B9=E4=B8=BA=E8=AF=B7=E6=B1=82?= =?UTF-8?q?=E4=BD=93=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/ruoyi/web/controller/api/AppController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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));