|
|
@@ -1383,6 +1383,9 @@ public class FsUserCourseVideoServiceImpl implements IFsUserCourseVideoService {
|
|
|
if (user == null) {
|
|
|
return R.error("未识别到用户信息");
|
|
|
}
|
|
|
+ if (user.getStatus() == 0) {
|
|
|
+ return R.error("会员被停用,无权限,请联系客服!");
|
|
|
+ }
|
|
|
|
|
|
FsCourseWatchLog log = courseWatchLogMapper.getWatchCourseVideoByFsUser(param.getUserId(), param.getVideoId(), param.getCompanyUserId());
|
|
|
if (log == null) {
|