feat(app): update
This commit is contained in:
3
pkg/cache/redis_client.go
vendored
3
pkg/cache/redis_client.go
vendored
@ -2,7 +2,8 @@ package cache
|
||||
|
||||
import (
|
||||
"context"
|
||||
logs "servicebase/pkg/log"
|
||||
|
||||
logs "gitea.ddegame.cn/open/servicebase/pkg/log"
|
||||
|
||||
redis "github.com/redis/go-redis/v9"
|
||||
"github.com/spf13/viper"
|
||||
|
||||
3
pkg/cache/redis_lock.go
vendored
3
pkg/cache/redis_lock.go
vendored
@ -2,8 +2,9 @@ package cache
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"servicebase/pkg/log"
|
||||
"time"
|
||||
|
||||
"gitea.ddegame.cn/open/servicebase/pkg/log"
|
||||
)
|
||||
|
||||
func Lock(key string) (e error) {
|
||||
|
||||
5
pkg/cache/user/user.go
vendored
5
pkg/cache/user/user.go
vendored
@ -2,11 +2,12 @@ package cache_user
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"servicebase/pkg/cache"
|
||||
"servicebase/pkg/tools"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"gitea.ddegame.cn/open/servicebase/pkg/cache"
|
||||
"gitea.ddegame.cn/open/servicebase/pkg/tools"
|
||||
|
||||
"github.com/anxpp/beego/logs"
|
||||
"github.com/anxpp/common-utils/str"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user