feat(security/limiter): 新增限流器

This commit is contained in:
KAI
2024-06-25 01:01:43 +00:00
committed by Charles7c
parent 3e9a15295a
commit a89765f49e
14 changed files with 622 additions and 0 deletions

View File

@@ -44,6 +44,8 @@ import top.continew.starter.web.autoconfigure.i18n.I18nProperties;
import top.continew.starter.web.model.R;
import top.continew.starter.web.util.MessageSourceUtils;
import java.awt.image.RasterFormatException;
/**
* 全局异常处理器
*
@@ -195,4 +197,5 @@ public class GlobalExceptionHandler {
log.error("请求地址 [{}],发生未知异常。", request.getRequestURI(), e);
return R.fail(e.getMessage());
}
}