接口入参改为请求体方式

master
chenfei 2 years ago
parent c6ed4cd687
commit 0627d2364a

@ -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));

Loading…
Cancel
Save