Sfoglia il codice sorgente

修改领取积分代码

pull/24/head
wanjing 11 mesi fa
parent
commit
0e812823c0
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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 Vedi File

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

Loading…
Annulla
Salva