|
@@ -74,12 +74,23 @@ public class LSlideshowController extends BaseController
|
|
|
*/
|
|
|
@ApiOperation("小程序端根据轮播图类型查询")
|
|
|
// @PreAuthorize("@ss.hasPermi('core:slideshow:query')")
|
|
|
- @GetMapping(value = "/{slideshowType}")
|
|
|
- public R<Slideshow> getInfo(@PathVariable("slideshowType") Long slideshowType)
|
|
|
+ @GetMapping(value = "/type/{slideshowType}")
|
|
|
+ public R<Slideshow> getInfo1(@PathVariable("slideshowType") Long slideshowType)
|
|
|
{
|
|
|
return R.ok(lSlideshowService.selectLSlideshowBySlideshowType(slideshowType));
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 获取主页轮播图或后续其他广告图片详细信息
|
|
|
+ */
|
|
|
+ @ApiOperation("小程序端根据轮播图id查询")
|
|
|
+ // @PreAuthorize("@ss.hasPermi('core:slideshow:query')")
|
|
|
+ @GetMapping(value = "/{slideshowId}")
|
|
|
+ public R<Slideshow> getInfo(@PathVariable("slideshowId") Long slideshowId)
|
|
|
+ {
|
|
|
+ return R.ok(lSlideshowService.selectLSlideshowBySlideshowId(slideshowId));
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* 新增主页轮播图或后续其他广告图片
|
|
|
*/
|