|
@@ -1,12 +1,11 @@
|
|
|
package beilv.web.controller.carousel;
|
|
package beilv.web.controller.carousel;
|
|
|
|
|
|
|
|
-import beilv.carousel.domain.BeilvCarousel;
|
|
|
|
|
import beilv.carousel.service.IBeilvCarouselService;
|
|
import beilv.carousel.service.IBeilvCarouselService;
|
|
|
import beilv.common.core.controller.BaseController;
|
|
import beilv.common.core.controller.BaseController;
|
|
|
import beilv.common.core.domain.AjaxResult;
|
|
import beilv.common.core.domain.AjaxResult;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Controller;
|
|
import org.springframework.stereotype.Controller;
|
|
|
-import org.springframework.web.bind.annotation.PostMapping;
|
|
|
|
|
|
|
+import org.springframework.web.bind.annotation.GetMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.ResponseBody;
|
|
import org.springframework.web.bind.annotation.ResponseBody;
|
|
|
|
|
|
|
@@ -27,7 +26,7 @@ public class AppCarouselController extends BaseController {
|
|
|
/**
|
|
/**
|
|
|
* 查询轮播列表
|
|
* 查询轮播列表
|
|
|
*/
|
|
*/
|
|
|
- @PostMapping("/selectAppCarouselList")
|
|
|
|
|
|
|
+ @GetMapping("/selectAppCarouselList")
|
|
|
@ResponseBody
|
|
@ResponseBody
|
|
|
public AjaxResult selectAppCarouselList() {
|
|
public AjaxResult selectAppCarouselList() {
|
|
|
return AjaxResult.success(beilvCarouselService.selectAppCarouselList());
|
|
return AjaxResult.success(beilvCarouselService.selectAppCarouselList());
|