浏览代码

fix 直播

he2802 3 年之前
父节点
当前提交
5853a48dc9

+ 1 - 1
zhongzheng-system/src/main/java/com/zhongzheng/modules/course/service/impl/CourseSectionServiceImpl.java

@@ -360,7 +360,7 @@ public class CourseSectionServiceImpl extends ServiceImpl<CourseSectionMapper, C
     public List<LiveGetMessageListResponse.MessageList> GetHistoryChatMsg(CourseSectionQueryBo bo) throws IOException, NoSuchAlgorithmException {
     public List<LiveGetMessageListResponse.MessageList> GetHistoryChatMsg(CourseSectionQueryBo bo) throws IOException, NoSuchAlgorithmException {
         CourseSectionVo section = queryById(bo.getSectionId());
         CourseSectionVo section = queryById(bo.getSectionId());
         if(Validator.isNotEmpty(section)){
         if(Validator.isNotEmpty(section)){
-            if(section.getSectionType()!=2){
+            if(section.getSectionType()!=3){
                 throw new CustomException("只支持查询回放聊天内容");
                 throw new CustomException("只支持查询回放聊天内容");
             }
             }
             PolyvLiveQueryBo queryBo = BeanUtil.toBean(bo, PolyvLiveQueryBo.class);
             PolyvLiveQueryBo queryBo = BeanUtil.toBean(bo, PolyvLiveQueryBo.class);