Merge pull request #1840 from dataease/pr@dev@refactor_del

refactor: 删除无用接口
This commit is contained in:
Junjun 2022-02-28 11:25:46 +08:00 committed by GitHub
commit d898eddff7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 18 deletions

View File

@ -101,14 +101,6 @@ public class ChartViewController {
return chartViewService.searchAdviceSceneId(panelId); 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("搜索") @ApiOperation("搜索")
@PostMapping("search") @PostMapping("search")
public List<ChartViewDTO> search(@RequestBody ChartViewRequest chartViewRequest) { public List<ChartViewDTO> search(@RequestBody ChartViewRequest chartViewRequest) {

View File

@ -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) { export function getChartTree(data) {
return request({ return request({
url: 'api', url: 'api',