Merge pull request 'by Robin at 20240322; -fans' (#196) from feat-IRONFANS-58-Robin into main

Reviewed-on: http://121.41.31.146:3000/wishpal_ironfan/service/pulls/196
This commit is contained in:
chenhao 2024-03-22 14:08:44 +08:00
commit a934f070d7
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ func (s *CronService) ReloadRecommList(ctx context.Context, param *xxl.RunReq) (
logger.Info("task %v param: %v log_id: %v", param.ExecutorHandler, param.ExecutorParams, xxl.Int64ToStr(param.LogID))
logger.Info("Refreshing recommendation list cached in redis...")
list, err := _DefaultStreamer.OpList(&gin.Context{}, &streamerproto.OpListReq{
Sort: []string{"fans"},
Sort: []string{"-fans"},
})
if err != nil {
logger.Error("OpList fail, err: %v", err)