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)