From 16847676913c78f76e65272ca3ebb76f7bf9e2dd Mon Sep 17 00:00:00 2001 From: zhangcl Date: Fri, 12 Aug 2022 14:42:14 +0800 Subject: [PATCH] /ai/finish/{id} --- .../main/java/com/ruoyi/web/controller/api/AppController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 cce9f27..2faac88 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 @@ -58,8 +58,8 @@ public class AppController extends BaseController */ @ApiOperation("完成AI诊断") @Log(title = "App诊断记录状态", businessType = BusinessType.UPDATE) - @GetMapping("/ai/finish") - public AjaxResult finish(Long id) + @GetMapping("/ai/finish/{id}") + public AjaxResult finish(@PathVariable("id") Long id) { TRecord record = tRecordService.selectTRecordById(id); if (record != null)