|
@@ -96,7 +96,7 @@ public class DefaultCaptchaSmsHandler implements CaptchaSmsHandler {
|
|
|
this.redisTemplate.opsForValue().set(key, captcha, this.properties.getExpiration(), TimeUnit.SECONDS);
|
|
|
return SmsSession.builder().token(token).expiration(this.properties.getExpiration()).build();
|
|
|
}, () -> {
|
|
|
- throw new ResourceUnavailableException(TemplateSmsHandler.SMS_SEND_FREQUENTLY, "Sms send frequently");
|
|
|
+ throw new ResourceUnavailableException(TemplateSmsHandler.SMS_SEND_FREQUENTLY, "短信发送过于频繁,请稍后再试");
|
|
|
});
|
|
|
}
|
|
|
|