parent
1bca1b27ed
commit
e2d0ae558a
|
@ -75,7 +75,11 @@ class UserActionService(
|
||||||
grantLogRepository.save(
|
grantLogRepository.save(
|
||||||
PointGrantLog(
|
PointGrantLog(
|
||||||
memberId = memberId,
|
memberId = memberId,
|
||||||
point = policy.pointAmount,
|
point = if (actionType == ActionType.ORDER_CONTENT_COMMENT && order != null) {
|
||||||
|
order.can
|
||||||
|
} else {
|
||||||
|
policy.pointAmount
|
||||||
|
},
|
||||||
actionType = actionType,
|
actionType = actionType,
|
||||||
policyId = policy.id!!,
|
policyId = policy.id!!,
|
||||||
orderId = order?.id
|
orderId = order?.id
|
||||||
|
|
Loading…
Reference in New Issue