Pārlūkot izejas kodu

修改获取积分代码

pull/22/head
wanjing pirms 11 mēnešiem
vecāks
revīzija
d808165d03
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

@@ -52,7 +52,7 @@ public class ReceivePonitsService {
.eq(WestreamKnowUser::getKnowId, request.getKnowId())
.eq(WestreamKnowUser::getMark, MarkEnum.VALID.getCode()));
if (ObjectUtil.isNotEmpty(westreamKnowUser)) {
return JsonResult.success("您已获得过积分了,仅能获取一次积分。");
return JsonResult.error("您已获得过积分了,仅能获取一次积分。");
} else {
westreamKnowUser = new WestreamKnowUser();
westreamKnowUser.setTenantId(request.getTenantId());

Notiek ielāde…
Atcelt
Saglabāt