test #316

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

View File

@ -75,7 +75,11 @@ class UserActionService(
grantLogRepository.save(
PointGrantLog(
memberId = memberId,
point = policy.pointAmount,
point = if (actionType == ActionType.ORDER_CONTENT_COMMENT && order != null) {
order.can
} else {
policy.pointAmount
},
actionType = actionType,
policyId = policy.id!!,
orderId = order?.id