fix cache key

This commit is contained in:
wangchuxiao 2023-06-05 15:28:36 +08:00
parent 727a28d993
commit 6dd16d2b67
2 changed files with 2 additions and 2 deletions

View File

@ -93,7 +93,7 @@ const (
ClearConversationNotification = 2101
DeleteMsgsNotification = 2102
NotificationEnd = 3000
NotificationEnd = 5000
//status
MsgNormal = 1

View File

@ -62,6 +62,6 @@ func (b *BlackCacheRedis) GetBlackIDs(ctx context.Context, userID string) (black
func (b *BlackCacheRedis) DelBlackIDs(ctx context.Context, userID string) BlackCache {
cache := b.NewCache()
cache.AddKeys(userID)
cache.AddKeys(b.getBlackIDsKey(userID))
return cache
}