This commit is contained in:
张良(004796)
2024-03-28 16:16:44 +08:00
parent 1a46596494
commit e955c21991
10 changed files with 281 additions and 0 deletions

View File

@@ -40,6 +40,7 @@ public class HomeManager {
AnchorListQuery query = new AnchorListQuery();
// 0-默认查询 1-活跃查询 2-新人查询 3-同城查询
query.setType(0);
query.setOnlineStatus(1);
Page<AnchorListVo> app = anchorService.pageApp(pageQuery, query);
List<AnchorListVo> records = app.getRecords();
RBucket<List<AnchorListVo>> bucket = redissonClient.getBucket(RedisHttpConstant.HOME_RECOMMEND_REDIS);