修正错别字

This commit is contained in:
RuoYi
2021-10-25 10:26:00 +08:00
parent 0c30ffa11f
commit 8a7dcf8a80
7 changed files with 10 additions and 10 deletions

View File

@ -61,7 +61,7 @@ public class RateLimiterAspect
Long number = redisTemplate.execute(limitScript, keys, count, time);
if (StringUtils.isNull(number) || number.intValue() > count)
{
throw new ServiceException("访问过于频繁,请稍再试");
throw new ServiceException("访问过于频繁,请稍再试");
}
log.info("限制请求'{}',当前请求'{}',缓存key'{}'", count, number.intValue(), key);
}
@ -71,7 +71,7 @@ public class RateLimiterAspect
}
catch (Exception e)
{
throw new RuntimeException("服务器限流异常,请稍再试");
throw new RuntimeException("服务器限流异常,请稍再试");
}
}