From 01a81beea99c0298a3b6178c7796f4c27b30c6c7 Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期二, 15 四月 2025 14:27:50 +0800 Subject: [PATCH] pat detail. 新增 appontment_id --- jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/room/RoomController.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/room/RoomController.java b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/room/RoomController.java index 85a6409..6f0b3de 100644 --- a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/room/RoomController.java +++ b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/room/RoomController.java @@ -88,9 +88,9 @@ @GetMapping("/get-room-by-ip") @Operation(summary = "鑾峰緱璇婂鍜岃瘖鐤楀簥") @PermitAll - public CommonResult<RoomProfileRespVO> getRoomByIP(HttpServletRequest request) { + public CommonResult<RoomProfileRespVO> getRoomByIP(HttpServletRequest request, @RequestParam(value = "roomId", required = false) Long roomId) { String reqIp = ServletUtil.getClientIP(request); - RoomProfile roomProfile = roomService.getRoomByIP(reqIp); + RoomProfile roomProfile = roomService.getRoomByIP(reqIp, roomId); return success(BeanUtils.toBean(roomProfile, RoomProfileRespVO.class)); } -- Gitblit v1.9.3