瀏覽代碼

Merge branch 'develop' into release

release
wanghaoran 11 月之前
父節點
當前提交
a8494be9ba
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. +3
    -0
      tuoheng-api/src/main/java/com/tuoheng/api/service/points/receive/ReceivePonitsService.java

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

@@ -17,6 +17,8 @@ import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.Date;

/**
* 全民护河领取积分 业务类
*
@@ -97,6 +99,7 @@ public class ReceivePonitsService {
userPointsDetail.setNickname(westreamUser.getNickname());
userPointsDetail.setChangeName("阅读知识");
userPointsDetail.setType(1);
userPointsDetail.setCreateTime(new Date());
Integer points = 0;
if (ObjectUtil.isNotEmpty(dictData)) {
points = Integer.parseInt(dictData.getValue());

Loading…
取消
儲存