by Robin at 20240621
This commit is contained in:
parent
177a95ac35
commit
900a803525
|
@ -1230,7 +1230,7 @@ func (s *Service) ApiGetStreamerExtListFuzzilyByUserId(ctx *gin.Context, req *st
|
|||
// 从redis中获取当前禁止被搜索的主播
|
||||
blockedlist := make([]string, 0)
|
||||
err := redis.GetRedisClient().GetObject(consts.RedisStreamerPrefix+"blocked_from_being_searched_list", &blockedlist)
|
||||
if err != nil {
|
||||
if err != nil && !redis.GetRedisClient().IsErrNil(err) {
|
||||
logger.Error("Redis read failed : %v", err)
|
||||
return
|
||||
}
|
||||
|
@ -1276,7 +1276,7 @@ func (s *Service) ApiGetStreamerExtListFuzzilyByName(ctx *gin.Context, req *stre
|
|||
// 从redis中获取当前禁止被搜索的主播
|
||||
blockedlist := make([]string, 0)
|
||||
err := redis.GetRedisClient().GetObject(consts.RedisStreamerPrefix+"blocked_from_being_searched_list", &blockedlist)
|
||||
if err != nil {
|
||||
if err != nil && !redis.GetRedisClient().IsErrNil(err) {
|
||||
logger.Error("Redis read failed : %v", err)
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue