From db9d7abda795b8a24dc9972389cbe4ac5a8a036c Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期四, 22 八月 2024 14:34:02 +0800 Subject: [PATCH] For Testing --- jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/queue/queueController.java | 19 ++++++++++++++++++- 1 files changed, 18 insertions(+), 1 deletions(-) diff --git a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/queue/queueController.java b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/queue/queueController.java index f10ec87..12c988c 100644 --- a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/queue/queueController.java +++ b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/queue/queueController.java @@ -92,4 +92,21 @@ BeanUtils.toBean(list, QueueRespVO.class)); } -} \ No newline at end of file + @GetMapping("/opening-setting") + @Operation(summary = "寮�璇婅缃�") + @PreAuthorize("@ss.hasPermission('ecg:queue:setting')") + public CommonResult<Integer> openingSetting() { + // 浠嶥B鍚屾宸ヤ綅鐨勬偅鑰呴槦鍒楁暟鎹埌 宸ヤ綅浼樺厛闃熷垪, 鍙兘鏈夋柊寮�宸ヤ綅 + queueService.initQueue(); + return success(0); + } + + @GetMapping("/startbiz") + @Operation(summary = "鎵嬪姩寮�璇�") + @PreAuthorize("@ss.hasPermission('ecg:queue:setting')") + public CommonResult<Integer> startBiz() { + queueService.startBiz(); + return success(0); + } + +} -- Gitblit v1.9.3