内容纲要
IndexContractInvitationVO indexContractInvitationVO = contractIndexService.contractInvitationProp();

        List<Map<String, Object>> rList = CollUtil.newArrayList();

        Map<String,Object> map1 = new HashMap<>();
        map1.put("key", "直接邀请");
        map1.put("value",indexContractInvitationVO.getDirectInvitation());

        Map<String,Object> map2 = new HashMap<>();
        map2.put("key", "间接邀请");
        map2.put("value",indexContractInvitationVO.getIndirectInvitation());

        rList.add(map1);
        rList.add(map2);

        return AjaxResult.success(rList);
Spread the knowledge