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 f1fa95a..639dee7 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 @@ -37,6 +37,9 @@ public class AppController extends BaseController @Resource private ITPatientHospitalDoctorService itPatientHospitalDoctorService; + @Resource + private ISysConfigService configService; + /** * 完成AI诊断 @@ -113,4 +116,11 @@ public class AppController extends BaseController tRecordService.updateTRecord(tRecord); return AjaxResult.success("更新状态成功",null); } + + @GetMapping(value = "/configKey/{configKey}") + @Log(title = "获取AI结果刷新时间接口") + public AjaxResult getConfigKey(@PathVariable String configKey) + { + return AjaxResult.success(configService.selectConfigByKey(configKey)); + } }