Explorar el Código

修改获取积分代码

pull/22/head
wanjing hace 11 meses
padre
commit
d808165d03
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 Ver fichero

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

Cargando…
Cancelar
Guardar