Pārlūkot izejas kodu

修改领取积分代码

pull/24/head
wanjing pirms 11 mēnešiem
vecāks
revīzija
0e812823c0
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      tuoheng-api/src/main/java/com/tuoheng/api/service/points/receive/ReceivePonitsService.java

+ 1
- 1
tuoheng-api/src/main/java/com/tuoheng/api/service/points/receive/ReceivePonitsService.java Parādīt failu

@@ -123,7 +123,7 @@ public class ReceivePonitsService {
userPointsDetail.setNickname(westreamUser.getNickname());
userPointsDetail.setChangeName("阅读知识");
userPointsDetail.setType(1);
userPointsDetail.setCreateTime(new Date());
userPointsDetail.setCreateTime(DateUtils.now());
Integer points = 0;
if (ObjectUtil.isNotEmpty(dictData)) {
points = Integer.parseInt(dictData.getValue());

Notiek ielāde…
Atcelt
Saglabāt