feat: 验证码请求限流处理

This commit is contained in:
rd
2025-09-08 17:59:19 +08:00
parent 8597ad67f0
commit 9d150ee292
3 changed files with 35 additions and 12 deletions

View File

@ -72,3 +72,8 @@ export const getImagePreSignedUrl = (params = {}) => {
export const getVideoPreSignedUrl = (params = {}) => {
return Http.get('/v1/oss/video-pre-signed-url', params);
};
// 清除限流
export const postClearRateLimiter = (params = {}) => {
return Http.post(`/v1/rate-limiter/clear`, params);
};