rentaiming
2024-06-06 bfde6acbf95e55846239cb2c7a0fe48dea287f69
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));