xiaoyong931011
2021-07-16 cf8e5b5cc0f781a44d66d0c8d361fec049fd4008
Merge branch 'score-shop' of http://120.27.238.55:7000/r/xzx into score-shop
1 files modified
4 ■■■■ changed files
gc-user/src/main/java/com/xzx/gc/user/service/DistribService.java 4 ●●●● patch | view | raw | blame | history
gc-user/src/main/java/com/xzx/gc/user/service/DistribService.java
@@ -113,6 +113,10 @@
        }
        AccountInfo accountInfo = accountMapper.selectOneByUserId(userId);
        if (AccountInfo.IS_HEAD_Y.equals(accountInfo.getIsHead())) {
            throw new RestException(-3, "团长不能加入团队");
        }
        UserShareInfo userShareInfo = userShareInfoMapper.selectByRegistPhone(accountInfo.getAccountName());
        if (userShareInfo != null) {
            throw new RestException(-3, "您已与推广员绑定, 无法加入");