mirror of https://github.com/hykilpikonna/AquaDX
[-] Verse: Give up on rec rating
parent
44f62e8f54
commit
5816f5dffb
|
@ -59,13 +59,17 @@ fun ChusanController.chusanInit() {
|
|||
// musicId cannot be the same with the id in recMusicList
|
||||
val u = db.userData.findByCard_ExtId(uid)() ?: return@paged empty
|
||||
val list = (chusan.recommendedMusic[u.id] ?: ls()).filter { it != 1 }
|
||||
|
||||
|
||||
if (list.isEmpty()) empty
|
||||
else ls(mapOf("musicId" to 1, "recMusicList" to list.joinToString(";") { "$it,1" }))
|
||||
}
|
||||
|
||||
"GetUserRecRating".paged("userRecRatingList") {
|
||||
// ratingMin: int, ratingMax: int, recMusicList: string???
|
||||
// ratingMin: int, ratingMax: int, recMusicList: string
|
||||
// This doesn't work
|
||||
// listOf(
|
||||
// mapOf("ratingMin" to 0, "ratingMax" to 30, "recMusicList" to "2387,1;2658,1")
|
||||
// )
|
||||
empty
|
||||
}
|
||||
// VERSE VERSE VERSE VERSE VERSE VERSE VERSE VERSE VERSE VERSE VERSE VERSE VERSE VERSE VERSE VERSE VERSE VERSE
|
||||
|
|
Loading…
Reference in New Issue