feat: 定时任务重构调整key验证策略

This commit is contained in:
tbphp committed 2025-07-13 19:27:04 +08:00
1 parent 92697251ee
commit 37bdcf2e72
13 files changed
+51 -175

No files matched your search

+1 -1
View File
@@ -211,7 +211,7 @@ func (s *Server) TestMultipleKeys(c *gin.Context) {
return
}
results, err := s.KeyService.TestMultipleKeys(c.Request.Context(), group, req.KeysText)
results, err := s.KeyService.TestMultipleKeys(group, req.KeysText)
if err != nil {
if strings.Contains(err.Error(), "batch size exceeds the limit") {
response.Error(c, app_errors.NewAPIError(app_errors.ErrValidation, err.Error()))