v1.0.3
CI / build-deploy (pull_request) Failing after 2m52s
CI / notify-on-failure (pull_request) Successful in 0s

This commit is contained in:
Timi
2026-08-01 01:13:08 +08:00
parent ce22661a9b
commit 15bf9bd688
31 changed files with 131 additions and 145 deletions
@@ -40,7 +40,7 @@ public class RequestRateLimitInterceptor extends RequestRateLimitAbstractInterce
redis.setAndKeepTTL(key, ++count);
} else {
log.warn("请求频率过高:[" + key + "].C" + count + "L" + limit);
throw new TimiException(TimiCode.REQUEST_BAD).msgKey("request_rate_limit");
throw new TimiException(TimiCode.REQUEST_BAD, "request_rate_limit");
}
}
return true;