yujian
2019-06-12 c007868c62c7da5c9ce1bf0e77d9e5f8619826e4
fanli/src/main/java/com/yeshi/fanli/controller/client/v1/SMSController.java
@@ -107,13 +107,13 @@
      phone = phone.replaceAll(" ", "");
      
      // 判断手机号码是否被封禁
      ForbiddenUserIdentifyCode identifyCode1 = forbiddenUserIdentifyCodeService
            .listByTypeAndIdentifyCode(ForbiddenUserIdentifyCodeTypeEnum.phone, phone);
      if (identifyCode1 != null && identifyCode1.getEffective() != null && identifyCode1.getEffective()) {
         out.print(JsonUtil.loadFalseResult(9001,"该电话号码被占用"));
         return;
      }
//      ForbiddenUserIdentifyCode identifyCode1 = forbiddenUserIdentifyCodeService
//            .listByTypeAndIdentifyCode(ForbiddenUserIdentifyCodeTypeEnum.phone, phone);
//      if (identifyCode1 != null && identifyCode1.getEffective() != null && identifyCode1.getEffective()) {
//         out.print(JsonUtil.loadFalseResult(9001,"该电话号码被占用"));
//         return;
//      }
//
      // 判断手机号码是否被封禁
      UserInfo phoneUser = userInfoService.getEffectiveUserInfoByPhone(phone);
      if (phoneUser != null) {