forked from Cookies_Public/AquaDX
[F] Fix item kind
This commit is contained in:
parent
13b1d8fc34
commit
a2413f3635
@ -235,7 +235,7 @@ fun ChusanServletController.init() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
"GetUserItem" {
|
"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)
|
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)
|
mapOf("userId" to uid, "length" to lst.size, "nextIndex" to -1, "itemKind" to kind, "userItemList" to lst)
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user