server/services/src/main/java/com/doumee/service/business/impl/SmsrecordServiceImpl.java
@@ -178,8 +178,8 @@ String digits = Strings.randomNumeric(4); //发送验证码 String templateParam = "{\"code\":\"" + digits + "\"}"; Boolean result = AliSmsService.sendSms(phone, "SMS_491325122", templateParam); if (!result) { String error = AliSmsService.sendSms(phone, Constants.SmsNotify.VERIFY_CODE.getTemplateCode(), templateParam); if (error != null) { throw new BusinessException(ResponseStatus.NOT_ALLOWED.getCode(), "短信发送失败,请稍后重试"); } //存储短信验证码