|
|
@@ -7,6 +7,7 @@ import com.baomidou.mybatisplus.core.toolkit.CollectionUtils;
|
|
|
import com.baomidou.mybatisplus.core.toolkit.ObjectUtils;
|
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
|
import com.zhongzheng.common.utils.DateUtils;
|
|
|
+import com.zhongzheng.common.utils.ServletUtils;
|
|
|
import com.zhongzheng.modules.course.bo.CheckSectionWatchVo;
|
|
|
import com.zhongzheng.modules.course.bo.SectionWatchPerAddBo;
|
|
|
import com.zhongzheng.modules.course.bo.SectionWatchPerBo;
|
|
|
@@ -80,7 +81,8 @@ public class CourseSectionWatchPerServiceImpl extends ServiceImpl<CourseSectionW
|
|
|
format = format + "&watchPer="+watchPer.getWatchPer();
|
|
|
}
|
|
|
String s = Base64.encode(format);
|
|
|
- String url = String.format("%s?param=%s&tenantId=%s",liveHost,s,watchPer.getTenantId());
|
|
|
+ String tenantId = ServletUtils.getRequest().getHeader("TenantId");
|
|
|
+ String url = String.format("%s?param=%s&tenantId=%s",liveHost,s,tenantId);
|
|
|
vo.setEnCodePC(url);
|
|
|
vo.setEnCode(url);
|
|
|
if (ObjectUtils.isNull(watchPer)){
|