class EruptFlowAutoConfiguration implements EruptModule {

    static {
        EruptModuleInvoke.addEruptModule(EruptFlowAutoConfiguration.class);
    }

    @Override
    public ModuleInfo info() {
        return ModuleInfo.builder().name(FlowConstant.SERVER_NAME).build();
    }

    @Override
    public List<MetaMenu> initMenus() {<FILL_FUNCTION_BODY>}
}

        List<MetaMenu> metaMenus = new ArrayList<>();
        //目录名和下面的权限名重复，所以加个后缀
        metaMenus.add(MetaMenu.createRootMenu(FlowConstant.SERVER_NAME + "_root", "流程服务", "fa fa-send", 80));
        // 添加菜单
        metaMenus.add(MetaMenu.createSimpleMenu(FlowConstant.SERVER_NAME, "流程服务基础权限", "erupt-flow"
                , metaMenus.get(0), 0, MenuTypeEnum.BUTTON.getCode()));
        metaMenus.add(MetaMenu.createSimpleMenu("workSpace", "工作区", FlowConstant.SERVER_NAME + "/index.html#/workSpace"
                , metaMenus.get(0), 10, MenuTypeEnum.LINK.getCode()));
        metaMenus.add(MetaMenu.createSimpleMenu("formsPanel", "后台管理", FlowConstant.SERVER_NAME + "/index.html#/formsPanel"
                , metaMenus.get(0), 20, MenuTypeEnum.LINK.getCode()));
        metaMenus.add(MetaMenu.createSimpleMenu("OaProcessInstanceHistory", "流程实例", "OaProcessInstanceHistory"
                , metaMenus.get(0), 30, MenuTypeEnum.TABLE.getCode()));
        metaMenus.add(MetaMenu.createSimpleMenu("OaTaskHistory", "任务", "OaTaskHistory"
                , metaMenus.get(0), 40, MenuTypeEnum.TABLE.getCode()));
        metaMenus.add(MetaMenu.createSimpleMenu("OaTaskOperation", "操作记录", "OaTaskOperation"
                , metaMenus.get(0), 50, MenuTypeEnum.TABLE.getCode()));
        return metaMenus;
    
<no_super_class>