张天森
2022-07-18 07ecf2a8da33ef54e6f06e325123304afe142ef7
看板bug修改
1个文件已修改
11 ■■■■ 已修改文件
springcloud_k8s_panzhihuazhihuishequ/community_backstage/src/main/java/com/panzhihua/community_backstage/api/IndexApi.java 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
springcloud_k8s_panzhihuazhihuishequ/community_backstage/src/main/java/com/panzhihua/community_backstage/api/IndexApi.java
@@ -108,13 +108,12 @@
            R<LoginUserInfoVO> userInfoByUserId = userService.getUserInfoByUserId(loginUserInfoVO.getUserId().toString());
            loginUserInfoVO = userInfoByUserId.getData();
        }
        int length = loginUserInfoVO.getCommunityName().length();
        String sub = StrUtil.sub(loginUserInfoVO.getCommunityName(),length-1,length);
        Integer type=1;
        if (sub.equals(Constants.VILLAGE)){
        Integer type=null;
        if (loginUserInfoVO.getAccount().equals("pannongyenongcunju")){
            type=2;
        }
        if (loginUserInfoVO.getAccount().equals("fangyipingtai")){
        }else if (loginUserInfoVO.getAccount().equals("pandashujuzhongxin")){
            type=1;
        }else if (loginUserInfoVO.getAccount().equals("fangyipingtai")){
            type=3;
        }
        return userService.communityList(type);