Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 82e6b81126 |
2
cache/redis/cache.go
vendored
2
cache/redis/cache.go
vendored
@@ -17,7 +17,7 @@ const (
|
||||
)
|
||||
|
||||
// buildKey 构建缓存键
|
||||
func (c *RedisClient) buildKey(prefix string, params ...interface{}) string {
|
||||
func (c *RedisClient) BuildKey(prefix string, params ...interface{}) string {
|
||||
key := CacheKeyPrefix + prefix
|
||||
for _, param := range params {
|
||||
key += fmt.Sprintf(":%v", param)
|
||||
|
||||
Reference in New Issue
Block a user