|
|
@ -69,8 +69,7 @@ public class EmployeeController implements EmployeeControllerApi { |
|
|
|
@PostMapping("/tree") |
|
|
|
@PostMapping("/tree") |
|
|
|
public ResponseResult tree(@RequestBody List<Long> ids) { |
|
|
|
public ResponseResult tree(@RequestBody List<Long> ids) { |
|
|
|
List<RolePermissionResponse> result = employeeService.permissionTreeList(ids); |
|
|
|
List<RolePermissionResponse> result = employeeService.permissionTreeList(ids); |
|
|
|
return result == null ? new ResponseResult(CommonCode.PERMISSION_IS_NOT) : |
|
|
|
return ResponseResult.SUCCESS(result); |
|
|
|
new ResponseResult<List<RolePermissionResponse>>().SUCCESS(result); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|