Parcourir la source

Merge branch 'develop' into release

release
wanghaoran il y a 11 mois
Parent
révision
a8494be9ba
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  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 Voir le fichier

@@ -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());

Chargement…
Annuler
Enregistrer