From 2f67dbf8e585cbff4ed5737c08d0b0061e8b4d50 Mon Sep 17 00:00:00 2001 From: Administrator <15274802129@163.com> Date: Wed, 23 Apr 2025 17:50:20 +0800 Subject: [PATCH] refactor(mall): 重构投票活动相关接口和数据结构 --- src/main/java/cc/mrbird/febs/vip/controller/AdminMallVipBenefitsController.java | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/main/java/cc/mrbird/febs/vip/controller/AdminMallVipBenefitsController.java b/src/main/java/cc/mrbird/febs/vip/controller/AdminMallVipBenefitsController.java index 42e8107..6e4c92e 100644 --- a/src/main/java/cc/mrbird/febs/vip/controller/AdminMallVipBenefitsController.java +++ b/src/main/java/cc/mrbird/febs/vip/controller/AdminMallVipBenefitsController.java @@ -56,4 +56,11 @@ public FebsResponse findAllBenefits() { return new FebsResponse().success().data(mallVipBenefitsService.list()); } + + @PostMapping(value = "/switchBenefitsShow/{id}") + public FebsResponse switchBenefitsShow(@PathVariable("id") Long id) { + mallVipBenefitsService.switchBenefitsShow(id); + return new FebsResponse().success().data("设置成功"); + } + } -- Gitblit v1.9.1