| | |
| | | ||StringUtils.isBlank(company.getEmail())){ |
| | | throw new BusinessException(ResponseStatus.BAD_REQUEST); |
| | | } |
| | | |
| | | if(!debugModel){ |
| | | String phoneAtuh = systemDictDataBiz.queryByCode(Constants.SYSTEM,Constants.COMPANY_PHONE_AUTH).getCode(); |
| | | if(!debugModel && !StringUtils.equals(phoneAtuh,Constants.ONE+"")){ |
| | | //手机验证码校验 |
| | | SmsEmailServiceImpl.isCaptcheValide(smsEmailMapper,company.getPhone(),company.getCaptche()); |
| | | } |
| | |
| | | || StringUtils.isBlank(company.getCaptche())){ |
| | | throw new BusinessException(ResponseStatus.BAD_REQUEST ); |
| | | } |
| | | if(!debugModel){ |
| | | String phoneAtuh = systemDictDataBiz.queryByCode(Constants.SYSTEM,Constants.COMPANY_PHONE_AUTH).getCode(); |
| | | if(!debugModel && !StringUtils.equals(phoneAtuh,Constants.ONE+"")){ |
| | | SmsEmailServiceImpl.isCaptcheValide(smsEmailMapper,company.getPhone(),company.getCaptche()); |
| | | } |
| | | Company model = companyMapper.selectById(company.getId()); |