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