From d3844ee25fbb06b656b5521978f083695d194b07 Mon Sep 17 00:00:00 2001 From: Administrator <15274802129@163.com> Date: Tue, 29 Apr 2025 09:56:11 +0800 Subject: [PATCH] feat(mall): 添加门票核销功能 --- src/main/java/cc/mrbird/febs/mall/controller/AdminMallTeamLeaderController.java | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/src/main/java/cc/mrbird/febs/mall/controller/AdminMallTeamLeaderController.java b/src/main/java/cc/mrbird/febs/mall/controller/AdminMallTeamLeaderController.java index 4e7e9e4..28e0f4c 100644 --- a/src/main/java/cc/mrbird/febs/mall/controller/AdminMallTeamLeaderController.java +++ b/src/main/java/cc/mrbird/febs/mall/controller/AdminMallTeamLeaderController.java @@ -144,4 +144,22 @@ return iAdminMallTeamLeaderService.addFence(adminLeaderAddFenceDto); } + /** + * 团长--在线 + */ + @GetMapping("startOnline/{id}") + @ControllerEndpoint(operation = "团长--在线", exceptionMessage = "操作失败") + public FebsResponse startOnline(@NotNull(message = "{required}") @PathVariable Long id) { + return iAdminMallTeamLeaderService.startOnline(id); + } + + /** + * 团长--离线 + */ + @GetMapping("closeOnline/{id}") + @ControllerEndpoint(operation = "团长--离线", exceptionMessage = "操作失败") + public FebsResponse closeOnline(@NotNull(message = "{required}") @PathVariable Long id) { + return iAdminMallTeamLeaderService.closeOnline(id); + } + } -- Gitblit v1.9.1