fix: import cycle

This commit is contained in:
2023-01-18 18:02:58 +08:00
parent 26f46f1eb6
commit 6466292524
11 changed files with 122 additions and 126 deletions
+1 -2
View File
@@ -3,7 +3,6 @@ package cache
import (
models2 "cutego/modules/core/dataobject"
"cutego/pkg/cache"
"cutego/pkg/common"
"cutego/pkg/constant"
)
@@ -13,7 +12,7 @@ import (
func GetRedisDict(key string) interface{} {
val := cache.GetCache(key)
s := make([]interface{}, 0)
return common.JsonToStruct(val, s)
return cache.JsonToStruct(val, s)
}
// SetRedisDict 保存字典数据