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 09737a4..153ab6d 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 @@ -509,7 +509,7 @@ public class AppController extends BaseController @ApiOperation("新增预约记录") @Log(title = "App新增预约记录", businessType = BusinessType.INSERT) @PostMapping("/record/add/{patientId}") - public AjaxResult addRecord(@PathVariable Long patientId) + public AjaxResult addRecord(@PathVariable("patientId") Long patientId) { TRecord tRecord = new TRecord(); tRecord.setHospitalId(SecurityUtils.getLoginUser().getUser().getHospitalId());