|
@@ -9,6 +9,7 @@ import com.yonge.cooleshow.biz.dal.dao.VideoLessonEvaluateDao;
|
|
|
import com.yonge.cooleshow.biz.dal.service.VideoLessonEvaluateService;
|
|
|
import com.yonge.cooleshow.biz.dal.vo.VideoLessonEvaluateVo;
|
|
|
import com.yonge.cooleshow.common.enums.YesOrNoEnum;
|
|
|
+import com.yonge.toolset.base.exception.BizException;
|
|
|
import org.slf4j.Logger;
|
|
|
import org.slf4j.LoggerFactory;
|
|
|
import org.springframework.stereotype.Service;
|
|
@@ -58,7 +59,7 @@ public class VideoLessonEvaluateServiceImpl extends ServiceImpl<VideoLessonEvalu
|
|
|
|
|
|
|
|
|
if (!(userId.equals(teacherId)) && !studentIdList.contains(userId)) {
|
|
|
- throw new RuntimeException("未购买该课程无法参与讨论");
|
|
|
+ throw new BizException("未购买该课程无法参与讨论");
|
|
|
}
|
|
|
|
|
|
|