by Robin at 20240807
This commit is contained in:
parent
3c1841d8d9
commit
145691fd65
|
@ -466,6 +466,10 @@ func (s *CronService) ReloadMomentRecommList(ctx context.Context, param *xxl.Run
|
||||||
logger.Error("Del redis cache fail, err: %v", err)
|
logger.Error("Del redis cache fail, err: %v", err)
|
||||||
return fmt.Sprintf("Del redis cache fail, err: %v", err)
|
return fmt.Sprintf("Del redis cache fail, err: %v", err)
|
||||||
}
|
}
|
||||||
|
if err := redis.GetRedisClient().Del(consts.RedisMomentPrefix + "recent_list"); err != nil {
|
||||||
|
logger.Error("Del redis cache fail, err: %v", err)
|
||||||
|
return fmt.Sprintf("Del redis cache fail, err: %v", err)
|
||||||
|
}
|
||||||
|
|
||||||
// 加载缓存
|
// 加载缓存
|
||||||
for _, moment := range list {
|
for _, moment := range list {
|
||||||
|
|
Loading…
Reference in New Issue