Browse Source

修改排序,提出临时直播间的开课消息发送

hgw 2 years ago
parent
commit
c3f5478fe6

+ 1 - 2
cooleshow-user/user-biz/src/main/java/com/yonge/cooleshow/biz/dal/service/impl/LiveRoomServiceImpl.java

@@ -107,6 +107,7 @@ public class LiveRoomServiceImpl extends ServiceImpl<LiveRoomDao, LiveRoom> impl
         Integer liveState = WrapperUtil.toInt(param, "liveState");
         Long userId = this.getSysUser().getId();
         Page<LiveRoom> pageInfo = PageUtil.getPageInfo(param);
+        pageInfo.setDesc("id_");
         IPage<LiveRoom> page = this.page(pageInfo, Wrappers.<LiveRoom>lambdaQuery()
                 .eq(WrapperUtil.StrPredicate.test(roomType), LiveRoom::getType, roomType)
                 .eq(WrapperUtil.ObjPredicate.test(liveState), LiveRoom::getLiveState, liveState)
@@ -301,8 +302,6 @@ public class LiveRoomServiceImpl extends ServiceImpl<LiveRoomDao, LiveRoom> impl
         log.info("createTempLiveRoom>>>>>>room:{}", room.getRoomUid());
         //去融云创建房间及创建房间缓存信息
         this.createLiveRoomInfo(room, sysUser);
-        //临时
-        this.pushLiveCreateRoom(room);
         //写入临时直播间列表
         RMap<Long, String> map = redissonClient.getMap(TEACHER_TEMP_LIVE_ROOM);
         map.put(teacherId, roomUid);