|
@@ -5221,13 +5221,13 @@ public class VipGroupServiceImpl extends BaseServiceImpl<Long, VipGroup> impleme
|
|
|
try {
|
|
|
imLiveBroadcastRoomService.sendForcedOffline(imLiveBroadcastRoomVo);
|
|
|
|
|
|
- courseScheduleDao.updateLiveRemind(data.getId(), 1);
|
|
|
+ courseScheduleDao.updateLiveRemind(data.getId(), 2);
|
|
|
} catch (Exception e) {
|
|
|
log.error("发送直播间退出消息失败", e);
|
|
|
}
|
|
|
} else if (imLiveBroadcastRoomVo.getLiveState() == 2) {
|
|
|
// 直播未开始 设置通知状态
|
|
|
- courseScheduleDao.updateLiveRemind(data.getId(), 2);
|
|
|
+ courseScheduleDao.updateLiveRemind(data.getId(), 3);
|
|
|
}
|
|
|
}
|
|
|
});
|
|
@@ -5246,14 +5246,14 @@ public class VipGroupServiceImpl extends BaseServiceImpl<Long, VipGroup> impleme
|
|
|
boolean b = imLiveBroadcastRoomService.tryDestroyLiveRoom(imLiveBroadcastRoomVo);
|
|
|
if (b) {
|
|
|
// 直播已关闭 设置通知状态
|
|
|
- courseScheduleDao.updateLiveRemind(data.getId(), 2);
|
|
|
+ courseScheduleDao.updateLiveRemind(data.getId(), 3);
|
|
|
}
|
|
|
} catch (Exception e) {
|
|
|
log.error("关闭直播间失败", e);
|
|
|
}
|
|
|
} else if (imLiveBroadcastRoomVo.getLiveState() == 2) {
|
|
|
// 直播已关闭 设置通知状态
|
|
|
- courseScheduleDao.updateLiveRemind(data.getId(), 2);
|
|
|
+ courseScheduleDao.updateLiveRemind(data.getId(), 3);
|
|
|
}
|
|
|
}
|
|
|
|