| | |
| | | if(StringUtils.isBlank(systemUser.getMobile()) || StringUtils.isBlank(systemUser.getCaptcha())){ |
| | | 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,systemUser.getMobile(),systemUser.getCaptcha()); |
| | | } |
| | | SystemUser queryUserDto = new SystemUser(); |
| | |
| | | if(StringUtils.isBlank(systemUser.getMobile()) || StringUtils.isBlank(systemUser.getCaptcha())){ |
| | | throw new BusinessException(ResponseStatus.BAD_REQUEST.getCode(),"短信验证码不能为空!"); |
| | | } |
| | | if(!debugModel){ |
| | | String phoneAtuh = systemDictDataBiz.queryByCode(Constants.SYSTEM,Constants.COMPANY_PHONE_AUTH).getCode(); |
| | | if(!debugModel && !StringUtils.equals(phoneAtuh,Constants.ONE+"")){ |
| | | SmsEmailServiceImpl.isCaptcheValide(smsEmailMapper,systemUser.getMobile(),systemUser.getCaptcha()); |
| | | } |
| | | } |