This commit is contained in:
wangjinlei
2024-05-27 14:22:17 +08:00
parent 34521517c9
commit 9ba7f281cf
5 changed files with 16 additions and 11 deletions

View File

@@ -176,6 +176,7 @@ public class CourseServiceImpl extends ServiceImpl<CourseDao, CourseEntity> impl
UserCourseBuyEntity userCourseBuyEntity = new UserCourseBuyEntity();
userCourseBuyEntity.setUserId(uId);
userCourseBuyEntity.setCourseId(courseCatalogueEntity.getCourseId());
userCourseBuyEntity.setCatalogueId(catalogueId);
userCourseBuyEntity.setDays(30);
userCourseBuyEntity.setCreateTime(new Date());
userCourseBuyEntity.setStartTime(new Date());