mirror of https://github.com/hykilpikonna/AquaDX
[F] Fix maimai2 user item
parent
d2cf16d046
commit
d533df52de
|
@ -70,9 +70,14 @@ class GetUserItemHandler(
|
|||
)
|
||||
}
|
||||
|
||||
return repos.userItem.findByUserCardExtIdAndItemKind(userId, kind).apply {
|
||||
forEach { it.isValid = true }
|
||||
logger.info("Response: $size $kindType items - DB") }
|
||||
return mapOf(
|
||||
"userId" to userId,
|
||||
"nextIndex" to 0,
|
||||
"itemKind" to kind,
|
||||
"userItemList" to repos.userItem.findByUserCardExtIdAndItemKind(userId, kind).apply {
|
||||
forEach { it.isValid = true }
|
||||
logger.info("Response: $size $kindType items - DB") }
|
||||
)
|
||||
}
|
||||
|
||||
companion object {
|
||||
|
|
Loading…
Reference in New Issue