From e0a18b8674aa2650a80e84a7630f5e3ff99c3ec5 Mon Sep 17 00:00:00 2001 From: mitao <2763622819@qq.com> Date: 星期四, 06 六月 2024 20:10:35 +0800 Subject: [PATCH] 1.提交【管理后台】营销管理-轮播图管理相关接口 2.提交【管理后台】会员管理相关接口 --- ruoyi-modules/ruoyi-promotion/src/main/java/com/ruoyi/promotion/controller/forepart/ForepartPromotionBannerController.java | 10 ++++------ 1 files changed, 4 insertions(+), 6 deletions(-) diff --git a/ruoyi-modules/ruoyi-promotion/src/main/java/com/ruoyi/promotion/controller/forepart/ForepartPromotionBannerController.java b/ruoyi-modules/ruoyi-promotion/src/main/java/com/ruoyi/promotion/controller/forepart/ForepartPromotionBannerController.java index bc28ff0..9d1bf99 100644 --- a/ruoyi-modules/ruoyi-promotion/src/main/java/com/ruoyi/promotion/controller/forepart/ForepartPromotionBannerController.java +++ b/ruoyi-modules/ruoyi-promotion/src/main/java/com/ruoyi/promotion/controller/forepart/ForepartPromotionBannerController.java @@ -8,10 +8,8 @@ import io.swagger.annotations.ApiOperation; import java.util.List; import javax.annotation.Resource; -import org.springframework.web.bind.annotation.PathVariable; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.ResponseBody; -import org.springframework.web.bind.annotation.RestController; + +import org.springframework.web.bind.annotation.*; /** * <p> @@ -25,10 +23,10 @@ @RequestMapping("/forepart/promotion-banner") @Api(value = "用户端-商场或者资讯的轮播图", tags = "用户端-商场或者资讯的轮播图", description = "用户端-商场或者资讯的轮播图") public class ForepartPromotionBannerController { + @Resource private IPromotionBannerService iPromotionBannerService; - @RequestMapping("/getBaanerList") - @ResponseBody + @PostMapping("/getBaanerList") @ApiOperation(value = "用户端-商场或者资讯的轮播图") public R<List<PromotionBanner>> getBaanerList(@PathVariable("bannerType") Integer bannerType) { return R.ok(iPromotionBannerService.getBaanerList(bannerType)); -- Gitblit v1.7.1