private Map<String, List<AuthPathData>> prepareAuthPathData(final List<String> authIds) {

        List<AuthPathDO> authPathDOList = authPathMapper.findByAuthIdList(authIds);
        return Optional.ofNullable(authPathDOList).orElseGet(ArrayList::new)
                .stream().collect(Collectors.toMap(AuthPathDO::getAuthId,
                        data -> {
                            List<AuthPathData> dataList = new ArrayList<>();
                            dataList.add(new AuthPathData(data.getAppName(), data.getPath(), data.getEnabled()));
                            return dataList;
                        }, (List<AuthPathData> dataList1, List<AuthPathData> dataList2) -> {
                            dataList1.addAll(dataList2);
                            return dataList1;
                        }));
    }
prepare the Map with authIds.

@param authIds auth id
@return a map consist of path info
shenyu-admin/src/main/java/org/apache/shenyu/admin/service/impl/AppAuthServiceImpl.java