| | |
| | | // if (realNameAuthRecord != null) { |
| | | // switch (realNameAuthRecord.getStatus()) { |
| | | // case 0: |
| | | // msg = "已经提交申请,请等待审核"; |
| | | // msg = "Application submitted, please wait for review"; |
| | | // break; |
| | | // case 1: |
| | | // msg = "审核中"; |
| | | // msg = "Under review"; |
| | | // break; |
| | | // case 2: |
| | | // msg = "审核已通过"; |
| | | // msg = "Already approved"; |
| | | // break; |
| | | // case 3: |
| | | // realNameAuthRecord.setStatus(1); |
| | |
| | | //// msg = MessageFormat.format("审核未通过,原因:{0}", realNameAuthRecord.getMsg()); |
| | | //// break; |
| | | //// default: |
| | | //// msg = "审核状态异常请联系客服"; |
| | | //// msg = "Abnormal review status, please contact support"; |
| | | //// break; |
| | | // }// |
| | | // if (StrUtil.isNotBlank(msg)) { |
| | |
| | | // } |
| | | // |
| | | // if (model.getIdNumber().length()>50){ |
| | | // throw new YamiShopBindException("证件号码长度超过50"); |
| | | // throw new YamiShopBindException("ID number exceeds 50 characters"); |
| | | // } |
| | | // if (model.getName().length()>50){ |
| | | // throw new YamiShopBindException("实名姓名长度超过50"); |
| | | // throw new YamiShopBindException("Real name exceeds 50 characters"); |
| | | // } |
| | | // BeanUtils.copyProperties(model, realNameAuthRecord); |
| | | // realNameAuthRecord.setUserId(user.getUserId()); |