fix cache.
This commit is contained in:
parent
f934472e50
commit
82e6b81126
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue