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 5ee236b..1f9c6a2 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 @@ -242,4 +242,11 @@ public class AppController extends BaseController recordResultReq.setStatus("0"); return AjaxResult.success(tRecordService.selectTRecordListWithoutResult(recordResultReq)); } + + @ApiOperation("获取患者详细信息") + @GetMapping ("/patient/info") + public AjaxResult getPatientInfo() { + return AjaxResult.success(tPatientService.selectTPatientById(getUserId())); + } + }