瀏覽代碼

Merge remote-tracking branch 'origin/红德堂' into 红德堂

wangxy 2 周之前
父節點
當前提交
e1825ac373

+ 3 - 0
fs-service/src/main/java/com/fs/course/service/impl/FsUserCourseVideoServiceImpl.java

@@ -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) {