From 47de46c88be1d4cdcc7f89005c65f73ce0c9c27b Mon Sep 17 00:00:00 2001 From: Derran Date: Wed, 4 Feb 2026 17:55:38 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=A8=E6=88=B7=E4=BD=BF=E7=94=A8=E8=81=94?= =?UTF-8?q?=E7=B3=BB=E5=8D=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/pcur/ProfileCardUsageRecordApplicationService.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dating-agency-mall-server/src/main/java/com/qniao/dam/application/service/pcur/ProfileCardUsageRecordApplicationService.java b/dating-agency-mall-server/src/main/java/com/qniao/dam/application/service/pcur/ProfileCardUsageRecordApplicationService.java index baddc26..3261222 100644 --- a/dating-agency-mall-server/src/main/java/com/qniao/dam/application/service/pcur/ProfileCardUsageRecordApplicationService.java +++ b/dating-agency-mall-server/src/main/java/com/qniao/dam/application/service/pcur/ProfileCardUsageRecordApplicationService.java @@ -47,11 +47,13 @@ public class ProfileCardUsageRecordApplicationService { if (usageFreeCount < 20) { ProfileCardUsageRecord record = ProfileCardUsageRecord.build(usageRecord.getUserId(), usageRecord.getTargetMiId(), CardUsageTyepEnum.FREE); profileCardUsageRecordDao.insert(record); + vo.setSuccess(true); } else { //免费使用完后,看看有没有资料卡使用 if (rightApplicationService.consumeRight(usageRecord.getUserId(), marriageInformation.getId(), RightTypeEnum.PROFILE_CARD, null)) { ProfileCardUsageRecord record = ProfileCardUsageRecord.build(usageRecord.getUserId(), usageRecord.getTargetMiId(), CardUsageTyepEnum.CARD); profileCardUsageRecordDao.insert(record); + vo.setSuccess(true); } else { vo.setSuccess(false); }