调整日志和封装优先级代码

This commit is contained in:
Yun
2025-07-24 17:13:17 +08:00
parent ecaac58926
commit 037d8cf107
8 changed files with 256 additions and 8 deletions
+2 -1
View File
@@ -11,6 +11,7 @@ import (
"github.com/go-redis/redis/v8"
uuid "github.com/satori/go.uuid"
"github.com/yuninks/timerx/logger"
)
// 功能描述
@@ -21,7 +22,7 @@ import (
// 单次的任务队列
type Once struct {
ctx context.Context
logger Logger
logger logger.Logger
zsetKey string
listKey string
redis redis.UniversalClient