Merge pull request 'by Robin at 20240530' (#523) from feat-IRONFANS-58-Robin into test
Reviewed-on: http://121.41.31.146:3000/wishpal_ironfan/service/pulls/523
This commit is contained in:
commit
3deeb6be7d
|
@ -183,7 +183,8 @@ func (s *StreamerRecommService) save() {
|
||||||
// 推送
|
// 推送
|
||||||
func (s *StreamerRecommService) push() error {
|
func (s *StreamerRecommService) push() error {
|
||||||
list := make([]int64, 0)
|
list := make([]int64, 0)
|
||||||
for _, v := range s.scorelist {
|
for i := len(s.scorelist) - 1; i >= 0; i-- {
|
||||||
|
v := s.scorelist[i]
|
||||||
logger.Info("%v得分:%v", v.Mid, v.Score)
|
logger.Info("%v得分:%v", v.Mid, v.Score)
|
||||||
list = append(list, v.Mid)
|
list = append(list, v.Mid)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue