|
|
@@ -253,11 +253,11 @@ public class XiaoShouYiTrackLinkCacheService {
|
|
|
String.format("课程小节与课程不匹配,不允许销售易发课,courseId=%d, videoId=%d", courseId, videoId));
|
|
|
}
|
|
|
|
|
|
- if (!Integer.valueOf(1).equals(video.getOpenClass())) {
|
|
|
- throw new XiaoShouYiSendVideoLimitExceededException(
|
|
|
- String.format("该小节未开启公开课(openClass=%s),不允许销售易发课,courseId=%d, videoId=%d",
|
|
|
- video.getOpenClass(), courseId, videoId));
|
|
|
- }
|
|
|
+// if (!Integer.valueOf(1).equals(video.getOpenClass())) {
|
|
|
+// throw new XiaoShouYiSendVideoLimitExceededException(
|
|
|
+// String.format("该小节未开启公开课(openClass=%s),不允许销售易发课,courseId=%d, videoId=%d",
|
|
|
+// video.getOpenClass(), courseId, videoId));
|
|
|
+// }
|
|
|
|
|
|
log.info("销售易公开课校验通过,courseId={}, videoId={}, openClass={}", courseId, videoId, video.getOpenClass());
|
|
|
}
|