parent
f36010fefa
commit
b102241efd
|
@ -44,7 +44,7 @@ class AudioContentCommentController(
|
||||||
userActionService.recordAction(
|
userActionService.recordAction(
|
||||||
memberId = member.id!!,
|
memberId = member.id!!,
|
||||||
actionType = ActionType.CONTENT_COMMENT,
|
actionType = ActionType.CONTENT_COMMENT,
|
||||||
commentId = commentId,
|
contentCommentId = commentId,
|
||||||
pushTokenList = pushTokenList
|
pushTokenList = pushTokenList
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -52,7 +52,7 @@ class AudioContentCommentController(
|
||||||
memberId = member.id!!,
|
memberId = member.id!!,
|
||||||
actionType = ActionType.ORDER_CONTENT_COMMENT,
|
actionType = ActionType.ORDER_CONTENT_COMMENT,
|
||||||
contentId = request.contentId,
|
contentId = request.contentId,
|
||||||
commentId = commentId,
|
contentCommentId = commentId,
|
||||||
pushTokenList = pushTokenList
|
pushTokenList = pushTokenList
|
||||||
)
|
)
|
||||||
} catch (_: Exception) {
|
} catch (_: Exception) {
|
||||||
|
|
|
@ -33,7 +33,7 @@ class UserActionService(
|
||||||
memberId: Long,
|
memberId: Long,
|
||||||
actionType: ActionType,
|
actionType: ActionType,
|
||||||
contentId: Long? = null,
|
contentId: Long? = null,
|
||||||
commentId: Long? = null,
|
contentCommentId: Long? = null,
|
||||||
pushTokenList: List<String> = emptyList()
|
pushTokenList: List<String> = emptyList()
|
||||||
) {
|
) {
|
||||||
coroutineScope.launch {
|
coroutineScope.launch {
|
||||||
|
@ -43,7 +43,7 @@ class UserActionService(
|
||||||
UserActionLog(
|
UserActionLog(
|
||||||
memberId = memberId,
|
memberId = memberId,
|
||||||
actionType = actionType,
|
actionType = actionType,
|
||||||
commentId = commentId
|
contentCommentId = contentCommentId
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
repository.flush()
|
repository.flush()
|
||||||
|
|
Loading…
Reference in New Issue