diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/pc/TRecordController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/pc/TRecordController.java index d2786f1..b78072d 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/pc/TRecordController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/pc/TRecordController.java @@ -140,7 +140,7 @@ public class TRecordController extends BaseController */ @ApiOperation("诊断记录上传") @PostMapping("diagnostic/upload") - public AjaxResult diagnosticRecordsUploaded(AppRecordReq appRecordReq) { + public AjaxResult diagnosticRecordsUploaded(@RequestBody AppRecordReq appRecordReq) { TRecord tRecord = new TRecord(); BeanUtils.copyProperties(appRecordReq, tRecord); return AjaxResult.success(tRecordService.updateTRecord(tRecord));