test #316

Merged
klaus merged 20 commits from test into main 2025-05-20 06:03:11 +00:00
1 changed files with 9 additions and 9 deletions
Showing only changes of commit eb8c8c14e8 - Show all commits

View File

@ -54,15 +54,6 @@ class UserActionService(
)
if (grantedCount >= policy.availableCount) return@launch
memberPointRepository.save(
MemberPoint(
memberId = memberId,
point = policy.pointAmount,
actionType = actionType,
expiresAt = now.plusDays(3)
)
)
grantLogRepository.save(
PointGrantLog(
memberId = memberId,
@ -73,6 +64,15 @@ class UserActionService(
)
)
memberPointRepository.save(
MemberPoint(
memberId = memberId,
point = policy.pointAmount,
actionType = actionType,
expiresAt = now.plusDays(3)
)
)
if (pushToken != null) {
fcmService.sendPointGranted(pushToken, policy.pointAmount)
}