[F] Fix item kind

matching
Azalea 2024-12-26 19:46:20 -05:00
parent 13b1d8fc34
commit a2413f3635
1 changed files with 1 additions and 1 deletions

View File

@ -235,7 +235,7 @@ fun ChusanServletController.init() {
}
"GetUserItem" {
val kind = parsing { (data["nextIndex"]!!.long % 10000000000L).int }
val kind = parsing { (data["nextIndex"]!!.long / 10000000000L).int }
val lst = db.userItem.findAllByUser_Card_ExtIdAndItemKind(uid, kind)
mapOf("userId" to uid, "length" to lst.size, "nextIndex" to -1, "itemKind" to kind, "userItemList" to lst)
}