|
@@ -474,7 +474,8 @@ public class FsUserCourseVideoServiceImpl implements IFsUserCourseVideoService
|
|
|
System.out.println("企微传参:"+courseLink.getChatId()+"corpId:"+param.getCorpId());
|
|
|
QwGroupChatDetailsResult result = qwApiService.groupChatDetails(courseLink.getChatId(), param.getCorpId());
|
|
|
if(result.getErrCode() != 0){
|
|
|
- return R.error("企微接口请求失败,请联系管理员:" +result.getErrMsg());
|
|
|
+ log.info("企微接口请求失败,请联系管理员:" +result.getErrMsg());
|
|
|
+ return R.error("不是此群成员");
|
|
|
}
|
|
|
List<QwGroupChatDetailsResult.Member> collect = result.getGroupChat().getMemberList().stream().filter(e -> e.getType() == 2).collect(Collectors.toList());
|
|
|
if(collect.isEmpty()){
|
|
@@ -1499,7 +1500,7 @@ public class FsUserCourseVideoServiceImpl implements IFsUserCourseVideoService
|
|
|
|
|
|
List<FsUserCourseVideo> collect = videoResourceList.stream().map(e -> {
|
|
|
FsUserCourseVideo entity = new FsUserCourseVideo();
|
|
|
- entity.setTitle(e.getFileName());
|
|
|
+ entity.setTitle(e.getResourceName());
|
|
|
entity.setVideoUrl(e.getVideoUrl());
|
|
|
entity.setThumbnail(e.getThumbnail());
|
|
|
entity.setDuration(e.getDuration().longValue());
|