Merge pull request 'by Robin at 20240807' (#687) from feat-IRONFANS-187-Robin into test
Reviewed-on: http://121.41.31.146:3000/wishpal_ironfan/service/pulls/687
This commit is contained in:
commit
1644283cd0
|
@ -466,6 +466,10 @@ func (s *CronService) ReloadMomentRecommList(ctx context.Context, param *xxl.Run
|
|||
logger.Error("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 {
|
||||
|
|
Loading…
Reference in New Issue