|
@@ -1484,7 +1484,7 @@ public class FsUserCourseVideoServiceImpl implements IFsUserCourseVideoService
|
|
|
Company company = companyMapper.selectCompanyById(param.getCompanyId());
|
|
Company company = companyMapper.selectCompanyById(param.getCompanyId());
|
|
|
BigDecimal money = company.getMoney();
|
|
BigDecimal money = company.getMoney();
|
|
|
if (money.compareTo(BigDecimal.ZERO)<=0) {
|
|
if (money.compareTo(BigDecimal.ZERO)<=0) {
|
|
|
- return R.error("服务商余额不足,请联系群主服务器充值!");
|
|
|
|
|
|
|
+ return R.error("服务商余额不足,请联系群主服务商充值!");
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// 发送红包
|
|
// 发送红包
|
|
@@ -1719,6 +1719,9 @@ public class FsUserCourseVideoServiceImpl implements IFsUserCourseVideoService
|
|
|
FsUserCourseVideoDetailsVO fsUserCourseVideoDetailsVO = new FsUserCourseVideoDetailsVO();
|
|
FsUserCourseVideoDetailsVO fsUserCourseVideoDetailsVO = new FsUserCourseVideoDetailsVO();
|
|
|
BeanUtils.copyProperties(fsUserCourseVideo, fsUserCourseVideoDetailsVO);
|
|
BeanUtils.copyProperties(fsUserCourseVideo, fsUserCourseVideoDetailsVO);
|
|
|
|
|
|
|
|
|
|
+ //这里 改成取线路一值,返回给前端。VideoUrl 是原视频(用来算流量的),不要去改,lineOne是转码后的视频
|
|
|
|
|
+ fsUserCourseVideoDetailsVO.setVideoUrl(fsUserCourseVideo.getLineOne());
|
|
|
|
|
+
|
|
|
// 获取课程相关的题库
|
|
// 获取课程相关的题库
|
|
|
String questionBankId = fsUserCourseVideo.getQuestionBankId();
|
|
String questionBankId = fsUserCourseVideo.getQuestionBankId();
|
|
|
List<FsUserVideoQuestionVO> questionList = Collections.emptyList();
|
|
List<FsUserVideoQuestionVO> questionList = Collections.emptyList();
|