by Robin at 20240322; -fans
This commit is contained in:
parent
5ccad2cbca
commit
dacc31cb31
|
@ -29,7 +29,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("task %v param: %v log_id: %v", param.ExecutorHandler, param.ExecutorParams, xxl.Int64ToStr(param.LogID))
|
||||||
logger.Info("Refreshing recommendation list cached in redis...")
|
logger.Info("Refreshing recommendation list cached in redis...")
|
||||||
list, err := _DefaultStreamer.OpList(&gin.Context{}, &streamerproto.OpListReq{
|
list, err := _DefaultStreamer.OpList(&gin.Context{}, &streamerproto.OpListReq{
|
||||||
Sort: []string{"fans"},
|
Sort: []string{"-fans"},
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
logger.Error("OpList fail, err: %v", err)
|
logger.Error("OpList fail, err: %v", err)
|
||||||
|
|
Loading…
Reference in New Issue