瀏覽代碼

修改获取积分代码

pull/22/head
wanjing 11 月之前
父節點
當前提交
d808165d03
共有 1 個檔案被更改,包括 1 行新增1 行删除
  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 查看文件

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

Loading…
取消
儲存