package beilv.web.controller.carousel;

import beilv.carousel.service.IBeilvCarouselService;
import beilv.common.core.controller.BaseController;
import beilv.common.core.domain.AjaxResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;


/**
 * 轮播Controller
 *
 * @author ruoyi
 * @date 2025-11-18
 */
@Controller
@RequestMapping("/app-api/carousel")
public class AppCarouselController extends BaseController {

    @Autowired
    private IBeilvCarouselService beilvCarouselService;

    /**
     * 查询轮播列表
     */
    @GetMapping("/selectAppCarouselList")
    @ResponseBody
    public AjaxResult selectAppCarouselList() {
        return AjaxResult.success(beilvCarouselService.selectAppCarouselList());
    }
}
