Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
O
online-edu-backend
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
online-edu
online-edu-backend
Commits
49e6b49f
Commit
49e6b49f
authored
Jun 04, 2021
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed bug
parent
3dca8079
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
UserCenterService.java
...in/java/com/qkdata/biz/web/service/UserCenterService.java
+1
-1
No files found.
src/main/java/com/qkdata/biz/web/service/UserCenterService.java
View file @
49e6b49f
...
...
@@ -82,7 +82,7 @@ public class UserCenterService {
}
}
else
if
(
course
.
getChargeModel
()
==
CourseChargeModelEnum
.
PAY
){
UserCourseAuthPO
authPO
=
userCourseAuthService
.
getOne
(
Wrappers
.<
UserCourseAuthPO
>
lambdaQuery
().
eq
(
UserCourseAuthPO:
:
getUserId
,
userId
).
eq
(
UserCourseAuthPO:
:
getCourseId
,
courseId
));
if
(
authPO
==
null
{
if
(
authPO
==
null
)
{
throw
new
BusinessException
(
"当前课程为付费课程,请购买后再观看"
);
}
LocalDateTime
now
=
LocalDateTime
.
now
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment