Browse Source

更新视频观看进度 创建时间字段入库

tags/V1.8.0^2
wanghaoran 1 year ago
parent
commit
c46d2516fd
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      tuoheng-api/src/main/java/com/tuoheng/api/service/impl/WestreamVideoServiceImpl.java

+ 1
- 0
tuoheng-api/src/main/java/com/tuoheng/api/service/impl/WestreamVideoServiceImpl.java View File

@@ -137,6 +137,7 @@ public class WestreamVideoServiceImpl extends BaseServiceImpl<WestreamVideoMappe
userPointsDetail.setPointsTime(new Date());
userPointsDetail.setChangeName("观看学习视频"+query.getVideoId());
userPointsDetail.setType(1);
userPointsDetail.setCreateTime(new Date());
userPointsDetailMapper.insert(userPointsDetail);

//TODO 对接商城

Loading…
Cancel
Save