소스 검색

fix 直播

he2802 3 년 전
부모
커밋
5853a48dc9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      zhongzheng-system/src/main/java/com/zhongzheng/modules/course/service/impl/CourseSectionServiceImpl.java

+ 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 {
         CourseSectionVo section = queryById(bo.getSectionId());
         if(Validator.isNotEmpty(section)){
-            if(section.getSectionType()!=2){
+            if(section.getSectionType()!=3){
                 throw new CustomException("只支持查询回放聊天内容");
             }
             PolyvLiveQueryBo queryBo = BeanUtil.toBean(bo, PolyvLiveQueryBo.class);