mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-05 02:47:58 +08:00
[F] Fix maimai2 user item
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user