refactor: 分享代理方法返回值

This commit is contained in:
fit2cloud-chenyw 2022-03-02 12:36:09 +08:00
parent ed8b17f8e6
commit cdc5021e71

View File

@ -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);
} }