package io.dataease.controller.panel.api;


import io.dataease.controller.sys.base.BaseGridRequest;
import io.dataease.dto.panel.PanelViewDto;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@Api(tags = "仪表板：视图管理")
@RequestMapping("/api/panelView")
public interface ViewApi {


    @ApiOperation("视图树")
    @PostMapping("/tree")
    List<PanelViewDto> tree(BaseGridRequest request);
}
