forked from github/dataease
Merge pull request #1840 from dataease/pr@dev@refactor_del
refactor: 删除无用接口
This commit is contained in:
commit
d898eddff7
@ -101,14 +101,6 @@ public class ChartViewController {
|
||||
return chartViewService.searchAdviceSceneId(panelId);
|
||||
}
|
||||
|
||||
@ApiOperation("根据权限查详情")
|
||||
@PostMapping("/getOneWithPermission/{id}")
|
||||
public ChartViewDTO getOneWithPermission(@PathVariable String id, @RequestBody ChartExtRequest requestList) throws Exception {
|
||||
//如果能获取用户 则添加对应的权限
|
||||
ChartViewDTO dto = chartViewService.getData(id, requestList);
|
||||
return dto;
|
||||
}
|
||||
|
||||
@ApiOperation("搜索")
|
||||
@PostMapping("search")
|
||||
public List<ChartViewDTO> search(@RequestBody ChartViewRequest chartViewRequest) {
|
||||
|
@ -9,16 +9,6 @@ export function post(url, data) {
|
||||
})
|
||||
}
|
||||
|
||||
export function ajaxGetData(id, data) {
|
||||
return request({
|
||||
url: '/chart/view/getOneWithPermission/' + id,
|
||||
method: 'post',
|
||||
loading: true,
|
||||
hideMsg: true,
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function getChartTree(data) {
|
||||
return request({
|
||||
url: 'api',
|
||||
|
Loading…
Reference in New Issue
Block a user