gc-user/src/main/java/com/xzx/gc/user/service/DistribService.java | ●●●●● 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, "您已与推广员绑定, 无法加入");