fix
Helius
2021-07-16 3f6f8756dbaa89163d318670daa9f79d9816b5d8
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, "您已与推广员绑定, 无法加入");