package com.ruoyi.ibs.tabs.controller;


import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.domain.R;
import com.ruoyi.ibs.tabs.domain.vo.TopTabVo;
import com.ruoyi.ibs.tabs.mapper.CustTabDetailMapper;
import com.ruoyi.ibs.tabs.service.IbsLsdmService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@Api(tags = "大屏动态地址controller")
@RequestMapping("/system/lsdm/")
public class IbsLsdmController {


    @Autowired
    private IbsLsdmService ibsLsdmService;

    @GetMapping("/getUrl")
    @ApiOperation("获取地址")
    public AjaxResult listTopTab(@ApiParam(value = "视图名称") String viewName    )
    {
        return  AjaxResult.success(ibsLsdmService.getUrl(viewName));

    }
}
