mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-10 07:47:58 +08:00
[-] Remove user-box-all-items api
This commit is contained in:
@@ -62,15 +62,4 @@ class Chusan(
|
|||||||
val u = userDataRepo.findByCard(it.ghostCard) ?: (404 - "Game data not found")
|
val u = userDataRepo.findByCard(it.ghostCard) ?: (404 - "Game data not found")
|
||||||
mapOf("user" to u, "items" to rp.userItem.findAllByUser(u))
|
mapOf("user" to u, "items" to rp.userItem.findAllByUser(u))
|
||||||
}
|
}
|
||||||
|
|
||||||
@API("user-box-all-items")
|
|
||||||
fun userBoxAllItems() = allItems
|
|
||||||
val allItems by lazy { mapOf(
|
|
||||||
"nameplate" to rp.gameNamePlate.findAll(),
|
|
||||||
"frame" to rp.gameFrame.findAll(),
|
|
||||||
"trophy" to rp.gameTrophy.findAll(),
|
|
||||||
"mapicon" to rp.gameMapIcon.findAll(),
|
|
||||||
"sysvoice" to rp.gameSystemVoice.findAll(),
|
|
||||||
"avatar" to rp.gameAvatarAcc.findAll(),
|
|
||||||
) }
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user