forked from github/dataease
refactor: 分享代理方法返回值
This commit is contained in:
parent
f4ffa90b44
commit
ba00ce3250
@ -80,7 +80,7 @@ public class PanelGroupController {
|
|||||||
@DePermissionProxy(paramIndex = 1)
|
@DePermissionProxy(paramIndex = 1)
|
||||||
@DePermission(type = DePermissionType.PANEL, level = ResourceAuthLevel.PANNEL_LEVEL_VIEW)
|
@DePermission(type = DePermissionType.PANEL, level = ResourceAuthLevel.PANNEL_LEVEL_VIEW)
|
||||||
@PostMapping("/proxy/findOne/{id}")
|
@PostMapping("/proxy/findOne/{id}")
|
||||||
public PanelGroupWithBLOBs proxyFindOne(@PathVariable String id, @RequestBody PermissionProxy proxy)
|
public PanelGroupDTO proxyFindOne(@PathVariable String id, @RequestBody PermissionProxy proxy)
|
||||||
throws Exception {
|
throws Exception {
|
||||||
return panelGroupService.findOne(id);
|
return panelGroupService.findOne(id);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user