feat: 密钥调整为异步任务,取消数量限制

This commit is contained in:
tbphp
2025-07-20 08:52:54 +08:00
parent 86c28dc20c
commit 90498298bf
12 changed files with 213 additions and 40 deletions

View File

@@ -23,6 +23,7 @@ type Server struct {
KeyManualValidationService *services.KeyManualValidationService
TaskService *services.TaskService
KeyService *services.KeyService
KeyImportService *services.KeyImportService
LogService *services.LogService
CommonHandler *CommonHandler
}
@@ -37,6 +38,7 @@ type NewServerParams struct {
KeyManualValidationService *services.KeyManualValidationService
TaskService *services.TaskService
KeyService *services.KeyService
KeyImportService *services.KeyImportService
LogService *services.LogService
CommonHandler *CommonHandler
}
@@ -51,6 +53,7 @@ func NewServer(params NewServerParams) *Server {
KeyManualValidationService: params.KeyManualValidationService,
TaskService: params.TaskService,
KeyService: params.KeyService,
KeyImportService: params.KeyImportService,
LogService: params.LogService,
CommonHandler: params.CommonHandler,
}