Commit 49e6b49f authored by liuyang's avatar liuyang

fixed bug

parent 3dca8079
...@@ -82,7 +82,7 @@ public class UserCenterService { ...@@ -82,7 +82,7 @@ public class UserCenterService {
} }
}else if (course.getChargeModel() == CourseChargeModelEnum.PAY){ }else if (course.getChargeModel() == CourseChargeModelEnum.PAY){
UserCourseAuthPO authPO = userCourseAuthService.getOne(Wrappers.<UserCourseAuthPO>lambdaQuery().eq(UserCourseAuthPO::getUserId,userId).eq(UserCourseAuthPO::getCourseId,courseId)); UserCourseAuthPO authPO = userCourseAuthService.getOne(Wrappers.<UserCourseAuthPO>lambdaQuery().eq(UserCourseAuthPO::getUserId,userId).eq(UserCourseAuthPO::getCourseId,courseId));
if (authPO == null{ if (authPO == null){
throw new BusinessException("当前课程为付费课程,请购买后再观看"); throw new BusinessException("当前课程为付费课程,请购买后再观看");
} }
LocalDateTime now = LocalDateTime.now(); LocalDateTime now = LocalDateTime.now();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment