浏览代码

修改积分明细中缺少阅读知识积分记录问题

pull/22/head
wanjing 11 个月前
父节点
当前提交
717f6d86e2
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. +2
    -1
      tuoheng-api/src/main/java/com/tuoheng/api/service/points/receive/ReceivePonitsService.java

+ 2
- 1
tuoheng-api/src/main/java/com/tuoheng/api/service/points/receive/ReceivePonitsService.java 查看文件

@@ -95,7 +95,8 @@ public class ReceivePonitsService {
userPointsDetail.setTenantId(request.getTenantId());
userPointsDetail.setOpenid(request.getOpenid());
userPointsDetail.setNickname(westreamUser.getNickname());

userPointsDetail.setChangeName("阅读知识");
userPointsDetail.setType(1);
Integer points = 0;
if (ObjectUtil.isNotEmpty(dictData)) {
points = Integer.parseInt(dictData.getValue());

正在加载...
取消
保存